/* Compact public discovery thumbnails only; no room/media geometry changes. */
html body[data-page='discover'] #discover #liveCards.public-live-cards {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 width:100%;justify-content:stretch;gap:12px;
}
html body[data-page='discover'] #discover #liveCards>.public-live-card {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-end!important;width:100%;max-width:none;min-width:0;aspect-ratio:1;min-height:0;height:auto;box-sizing:border-box;flex:none;padding:0!important;border-width:1px!important;
}
html body[data-page='discover'] #discover #liveCards > button.public-live-card > img.public-live-cover {
 position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center;
 border-radius:inherit;margin:0!important;padding:0!important;max-width:none!important;transform:none!important;border:0!important;box-sizing:border-box;
}
html body[data-page='discover'] #discover #liveCards .public-live-card>h3 {
 font-size:16px;line-height:1.25;margin:48px 12px 5px;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
html body[data-page='discover'] #discover #liveCards .public-live-card>p {
 font-size:12px;line-height:1.4;margin:0 12px 8px;
}
html body[data-page='discover'] #discover #liveCards .public-live-card>.btn {
 min-height:44px;margin:0 12px 12px;padding:8px;font-size:12px;
}
html body[data-page='discover'] #discover #liveCards > button.public-live-card > :is(h3,p,.btn){width:auto!important;max-width:none!important;align-self:stretch;float:none;}

/* Two equal columns at every viewport; on narrow screens the entire card
   remains the large touch target, with a compact inner label. */
@media(max-width:480px){
 html body[data-page='discover'] #discover #liveCards.public-live-cards{gap:8px}
 html body[data-page='discover'] #discover #liveCards .public-live-card>h3{font-size:13px;line-height:1.2;margin:28px 8px 3px}
 html body[data-page='discover'] #discover #liveCards .public-live-card>p{font-size:11px;line-height:1.3;margin:0 8px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html body[data-page='discover'] #discover #liveCards .public-live-card>.btn{min-height:28px!important;padding:4px!important;line-height:18px;margin:0 8px 6px;font-size:11px}
}
