/* Staleness notice v3 - styled with the site's own design tokens
   (card background, hairline border, status dot like .pulse). */

#tr-stale-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0;
  padding: 11px 14px;
  background: var(--card, #12161d);
  border: 1px solid #50302c;          /* restrained red-brown hairline */
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}
#tr-stale-notice[hidden] { display: none; }

#tr-stale-notice .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5534b;                 /* muted red, same family as --warn usage */
  flex: none;
  margin-top: 6px;
}
#tr-stale-notice p { margin: 0; }
#tr-stale-notice b { color: var(--tx, #f5f6f8); font-weight: 600; }
#tr-stale-notice .rest { color: var(--mut, #9aa3b0); }

/* While data is stale, gently mute the live-data sections so visitors can
   see at a glance that the listings can't be trusted right now. */
body.tr-stale #now,
body.tr-stale #stores,
body.tr-stale #abroad {
  opacity: 0.55;
  filter: grayscale(0.3);
}
