/* THE SPACE CARDS SAY WHAT CAME IN (Alison approved, 2026-12-04: "keep the top of the dashboard chic and clean").
   A small, quiet "2 new" in a space card's top right corner. Logic: static/js/screens/home/space-cards-came-in.js.
   The warm gold of How's highlights (#E9A84C, How Horizon's far dot), at low intensity: a faint gold wash with a
   darker gold word in light mode, a lighter gold word in dark mode; both read at 4.5:1 or better against the wash
   laid over the card (asserted in tests/test_space_cards_came_in_browser.py). Absolute, so the card's own layout
   does not move. Where a card has its hover "x" (a team she owns), the badge sits just left of it. */
:root {
  --scn-wash: rgba(233, 168, 76, 0.16);
  --scn-word: #8A5410;
  --scn-edge: rgba(233, 168, 76, 0.45);
}
:root[data-theme="dark"] {
  --scn-wash: rgba(233, 168, 76, 0.16);
  --scn-word: #F0C27E;
  --scn-edge: rgba(233, 168, 76, 0.38);
}

.kate-card .scn-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--scn-wash);
  border: 1px solid var(--scn-edge);
  color: var(--scn-word);
  font: 600 0.7rem/1.4 'Montserrat', 'Inter', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}
.kate-card:has(.kate-card-delete) .scn-badge { right: 44px; }
