/* A sourced fun fact about the player's own answer: under it on the reveal, and in the answer key. */

.your-fact {
  margin: 4px 0 6px; padding: 6px 0 6px 10px;
  font-size: 0.9rem; line-height: 1.4; color: var(--ink);
  border-left: 3px solid var(--accent);
  overflow-wrap: anywhere;
  animation: fact-in 0.3s ease-out both;
}
.your-fact[hidden] { display: none; }
.key-fact { margin: 8px 0 0; font-size: 0.86rem; }
/* the prompt's one featured fact, for every player, under the answers list */
.featured-fact {
  margin: 12px 0 0; padding: 8px 10px;
  font-size: 0.88rem; line-height: 1.4; color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border-radius: calc(var(--radius) * 0.4);
  overflow-wrap: anywhere;
  animation: fact-in 0.3s ease-out both;
}
.featured-fact[hidden] { display: none; }
.fact-name { font-weight: 700; }
.fact-src { font-size: 0.78rem; color: var(--muted); white-space: nowrap; text-underline-offset: 2px; }
.fact-src::before { content: "Source: "; }
.fact-src:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
@keyframes fact-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .your-fact, .featured-fact { animation: none; }
}
