/* Keep one to three live cards together when viewport height limits their width.
   Flexible items consume available width without reserving empty grid columns. */
@media (min-width:901px) {
  .home-page:not(.directory-many):not(.directory-readable) .directory-content:has(>.stream-card:not([hidden])) {
    display:flex;
    justify-content:flex-start;
    gap:22px;
  }
  .home-page:not(.directory-many):not(.directory-readable) .directory-content>.stream-card:not([hidden]) {
    flex:1 1 0;
    max-width:calc((100cqh - 106px)*16/9);
    min-width:0;
  }
}

/* Reserve the same metadata height, including cards without a subtitle. */
@media (min-width:901px) {
  .home-page:not(.directory-many):not(.directory-readable) .card-bottom {
    height:104px;
    min-height:104px;
  }
}
