/* Tickerwire layout fixes (scoped to news cards only).
   A headline or summary with a very long unbroken word or URL must wrap inside the card instead of
   widening the feed column past the phone screen (which made the whole page scroll sideways). */
.grid > article { min-width: 0; max-width: 100%; }
article h3, article p { overflow-wrap: anywhere; }
/* Dialogs (Account, alerts, sources…) never taller than the screen: scroll inside instead of being cut off on small phones. */
[role="dialog"] { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
