/* Only Atlas integration: upstream component styling stays in source.css. */
.competition-group:has(.source-stack) { position: relative; margin: 0 20px 24px; }
.rail-scroll:has(.source-stack) { padding-top: 4px; }
.competition-group .group-matches.source-stack { overflow: visible; padding: 0; }
.source-stack {
  color: var(--foreground); font-family: Geist, "Geist Fallback";
}
/* The league is the first upstream Notification card, in both states. */
.source-stack [data-slot=notification-stack-header] { display: none; }
/* Match the approved second card, regardless of hidden placeholder length. */
.source-stack [data-slot=notification] { height: 83.25px; }
.source-stack [data-slot=notification-content] { height: 100%; align-items: center; }
.source-stack .source-icon { background: transparent; box-shadow: none; border-radius: 0; }
.source-stack .source-competition-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; }
.source-stack .source-competition-icon > :is(img, svg) { width: 32px; height: 32px; object-fit: contain; }
.source-stack .source-league-name { font-size: 16px; line-height: 22px; font-weight: 600; }
.source-stack .source-fixture { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.source-stack .source-teams { display: grid; gap: 4px; min-width: 0; font-size: 16px; line-height: 22px; font-weight: 500; }
.source-stack .source-teams > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-stack .source-time { font-size: 18px; line-height: 24px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.source-stack .source-league:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; border-radius: 18px; }
.source-stack .source-match:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.source-stack .source-entry { cursor: pointer; }
@media (prefers-reduced-motion:reduce) {
  .source-stack [data-slot=notification] { transition: none; transform: none !important; }
}

/* Reused approved team-crest-preview; sharp-icons-2 artwork size only. */
/* Minimal content adaptation inside the approved Ballmac card. */
.source-stack .source-teams > .source-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}
.source-stack .source-team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-stack .source-team-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.source-stack .source-team-crest img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.source-stack .source-teams { gap: 2px; }
