/* t574: card-width based columns (min card 245px, gap 14px) for home + /live-cams/ listing grids. JS authority: window.__ph574cols via t396 colsFor. */
@container (min-width: 900px) and (max-width: 1021.98px) {
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid)>.phlc-card:not([data-phlc-live-hidden="1"]):not([data-ph396-hide="1"]):not(.phspb-grid-pending-slot):not([hidden]){display:flex!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(3n+1))>.phlc-card:nth-last-child(-n+1){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(3n+2))>.phlc-card:nth-last-child(-n+2){display:none!important}
}
@container (min-width: 1022px) and (max-width: 1280.98px) {
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid)>.phlc-card:not([data-phlc-live-hidden="1"]):not([data-ph396-hide="1"]):not(.phspb-grid-pending-slot):not([hidden]){display:flex!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(4n+1))>.phlc-card:nth-last-child(-n+1){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(4n+2))>.phlc-card:nth-last-child(-n+2){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(4n+3))>.phlc-card:nth-last-child(-n+3){display:none!important}
}
@container (min-width: 1281px) {
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid){grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid)>.phlc-card:not([data-phlc-live-hidden="1"]):not([data-ph396-hide="1"]):not(.phspb-grid-pending-slot):not([hidden]){display:flex!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(5n+1))>.phlc-card:nth-last-child(-n+1){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(5n+2))>.phlc-card:nth-last-child(-n+2){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(5n+3))>.phlc-card:nth-last-child(-n+3){display:none!important}
html body:not(#ph574a):not(#ph574b) :is(.phspb-home-live-cams-shortcode,.phspb-filter-landing-wrap,#phspb-filter-directory) .phlc-grid:not(.phspb-recommended-streams .phlc-grid):not(aside .phlc-grid):has(>.phlc-card:nth-last-child(1):nth-child(5n+4))>.phlc-card:nth-last-child(-n+4){display:none!important}
}