/* Preserve portal styling; secondary controls yield before section titles do. */
@media(max-width:767px){
 .portal-section-heading{flex-wrap:wrap;column-gap:12px;row-gap:6px}
 .portal-section-heading>h2{flex:0 0 auto;min-width:0;max-width:100%;white-space:nowrap}
 .portal-section-heading>button{flex-shrink:0;white-space:nowrap}
 .portal-section-heading>.trend-pager-controls{flex:0 0 auto;min-width:0;margin-left:auto;white-space:nowrap}
 .trend-pager-controls>button{flex-shrink:0}
 .press-meta{min-width:0;flex-wrap:wrap;row-gap:3px}
 .press-meta h2{flex-shrink:0;white-space:nowrap}
 .press-meta time{white-space:nowrap;flex-shrink:0}
 .live-news-controls,.latest-news-heading{min-width:0}
 .live-news-controls .editor-title,.latest-news-heading h1{flex-shrink:0;white-space:nowrap}
 .live-news-controls .news-refresh,.latest-news-heading>button{flex-shrink:0}
 .reader-toolbar{min-width:0}
 .reader-toolbar .reader-back{flex-shrink:0;white-space:nowrap;min-height:40px}
 .reader-toolbar .reader-back span{white-space:nowrap}
 .reader-toolbar .reader-brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .reader-toolbar .reader-copy{flex-shrink:0;white-space:nowrap;min-height:40px}
 .collection-filter-bar{flex-wrap:wrap;gap:6px 12px}
 .collection-filter-bar>.collection-filter{flex-shrink:0;margin-left:auto;white-space:nowrap;min-height:36px}
 .reader-options{flex-wrap:wrap;gap:8px}
 .reader-options>div{flex-shrink:0;margin-left:auto}
 .market-connection,.market-provider{overflow-wrap:anywhere}
 .market-live-detail>header{align-items:flex-start;min-width:0}
 .market-live-detail>header h3{min-width:0;overflow-wrap:anywhere}
 .market-live-detail>header button{flex-shrink:0;min-height:36px}
 .portal-content-card,.latest-news-row,.collection-story{min-width:0}
 .instagram-viewer-header>div{min-width:0}
 .instagram-viewer-header .instagram-viewer-tools{flex-shrink:0}
 .instagram-viewer-header h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .instagram-post-header>div{min-width:0}
 .instagram-post-actions>button{flex-shrink:0;white-space:nowrap}
 .instagram-post-actions .instagram-post-signals{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:380px){
 .home-brief .home-brief-weather{grid-template-columns:auto minmax(0,1fr);grid-template-areas:'value label' 'value detail' 'time time';column-gap:12px;row-gap:2px}
 .home-brief-weather .home-brief-label,.home-brief-weather .home-brief-detail{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-brief-weather .home-brief-at{text-align:left;margin-top:4px}
}
