/* Flexible copy and control groups keep their normal composition until the
   available space or text size requires another line. */
.cmg-shell #workspace .dashboard-bottom>section{min-width:0}
.cmg-shell #workspace .dashboard-bottom header{min-width:0;flex-wrap:wrap}
.cmg-shell #workspace .dashboard-bottom header>div{min-width:0}
.cmg-shell #workspace .dashboard-event{min-width:0;max-width:100%}
.cmg-shell #workspace .dashboard-event>div{min-width:0;overflow-wrap:anywhere}
.cmg-shell #workspace .dashboard-event>div>strong{overflow-wrap:anywhere}
.cmg-shell #workspace .dashboard-shortcut>span{flex-wrap:wrap;min-width:0}
.cmg-shell #workspace .dashboard-shortcut>span>.icon:last-child{flex:none}
.cmg-shell #workspace .account-savebar{min-width:0;flex-wrap:wrap}
.cmg-shell #workspace .account-savebar>div{display:flex;min-width:0;max-width:100%;flex-wrap:wrap}
.cmg-shell #workspace .account-savebar>div>button{min-width:0;max-width:100%;white-space:normal}
.cmg-shell #workspace .history-heading{min-width:0;flex-wrap:wrap}
.cmg-shell #workspace .history-heading .subtle-tag{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.cmg-shell #workspace .support-category-filter{min-width:0;max-width:100%}
.cmg-shell #workspace .support-category-filter>button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){
 .cmg-shell #workspace.is-type-expanded .page-heading{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .page-heading>div{min-width:0;max-width:100%}
 .cmg-shell #workspace.is-type-expanded .page-heading h1{overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .experience-play-nav .competition-switch{display:flex;max-width:100%;overflow-x:auto}
 .cmg-shell #workspace.is-type-expanded .experience-play-nav .competition-choice{flex:0 0 auto;min-width:max-content}
 .cmg-shell #workspace.is-type-expanded .match-veto>header{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .competition-room-status h2{overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .site-tabs{overflow-x:auto;flex-wrap:nowrap}
 .cmg-shell #workspace.is-type-expanded .site-tabs>button{flex:0 0 auto;min-width:max-content}
 .cmg-shell #workspace.is-type-expanded .competition-lineup-board .competition-player-row{grid-template-columns:minmax(0,1fr);height:auto;min-height:180px;align-content:start;gap:12px}
 .cmg-shell #workspace.is-type-expanded .competition-player-main{display:flex;flex-direction:column;align-items:stretch;gap:8px}
 .cmg-shell #workspace.is-type-expanded .competition-player-main .competitive-player-link{height:auto;min-height:44px}
 .cmg-shell #workspace.is-type-expanded .competition-player-main>small{white-space:normal;overflow:visible;line-height:1.5;overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .competition-player-check{position:absolute;top:16px;right:12px}
 .cmg-shell #workspace.is-type-expanded .page-heading>button{white-space:normal;max-width:100%}
 .cmg-shell #workspace.is-type-expanded .dashboard-heading{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .dashboard-feature h2{overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .dashboard-shortcuts{grid-template-columns:minmax(0,1fr)}
 .cmg-shell #workspace.is-type-expanded .dashboard-feature-copy>div{align-items:stretch;flex-direction:column}
 .cmg-shell #workspace.is-type-expanded .dashboard-feature-copy>div>button{white-space:normal;min-height:52px;padding:12px 16px;max-width:100%}
 .cmg-shell #workspace.is-type-expanded .dashboard-event{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .dashboard-event>div{flex:1 1 160px}
 .cmg-shell #workspace.is-type-expanded .dashboard-event-prize{white-space:normal}
 .cmg-shell #workspace.is-type-expanded .dashboard-discover>div>button>span{min-width:0;overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .site-split{grid-template-columns:minmax(0,1fr)}
 .cmg-shell #workspace.is-type-expanded .site-split>*{min-width:0}
 .cmg-shell #workspace.is-type-expanded .profile-metrics{grid-template-columns:minmax(0,1fr)}
 .cmg-shell #workspace.is-type-expanded .section-top{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .competitive-context-heading{flex-wrap:wrap;gap:12px}
 .cmg-shell #workspace.is-type-expanded .competitive-performance{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
 .cmg-shell #workspace.is-type-expanded .competitive-context-record{min-width:0;max-width:100%;padding:20px 0 0;border-left:0;border-top:1px solid #ffffff12;flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .competitive-context-record>div{min-width:0;max-width:100%}
 .cmg-shell #workspace.is-type-expanded .competitive-context-record dd{white-space:normal;overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .competitive-career{flex-wrap:wrap}
 .cmg-shell #workspace.is-type-expanded .competitive-career>small{flex-basis:100%;text-align:left}
 .cmg-shell #workspace.is-type-expanded .profile-tabs>button{overflow-wrap:anywhere;hyphens:auto}
 .cmg-shell #workspace.is-type-expanded .account-section-nav>button{white-space:normal;min-width:0;max-width:100%;height:auto;min-height:48px;padding:12px;overflow-wrap:anywhere}
 .cmg-shell #workspace.is-type-expanded .support-category-filter>button{flex:1 1 100%;padding:12px;min-height:48px}
 .cmg-shell #workspace.is-type-expanded .support-shortcuts>.quiet-button{white-space:normal;overflow-wrap:anywhere;min-height:52px;height:auto;padding-block:12px}
 /* Enlarged type gets a flowing poster. The normal full-art deck is unchanged. */
 .cmg-shell #workspace .team-poster.is-text-expanded{display:flex;flex-direction:column;height:auto;min-height:var(--team-poster-height);max-height:none;padding:24px 20px}
 .cmg-shell #workspace .team-poster.is-text-expanded>.team-competition-signature{position:relative;inset:auto;align-self:flex-end;height:auto;min-height:44px;margin-bottom:20px;padding:8px 12px}
 .cmg-shell #workspace .team-poster.is-text-expanded>.team-poster-identity{position:relative;inset:auto;width:100%}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-identity>p{padding-right:0}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-identity h3{margin:16px 0}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-identity>span{white-space:normal}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-scoreboard{position:relative;inset:auto;width:100%;height:auto;display:flex;flex-direction:column;gap:24px;margin-top:28px}
 .cmg-shell #workspace .team-poster.is-text-expanded .poster-record{position:relative;inset:auto;width:100%}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-panel-score{flex-wrap:wrap;gap:16px}
 .cmg-shell #workspace .team-poster.is-text-expanded .poster-record>p{max-width:100%}
 .cmg-shell #workspace .team-poster.is-text-expanded .poster-rating{position:relative;inset:auto;width:100%;padding:20px}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-rating-value{flex-wrap:wrap}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-form{position:relative;inset:auto;width:100%;margin-top:24px}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-actions{position:relative;inset:auto;width:100%;display:grid;grid-template-columns:1fr;gap:12px;margin-top:28px}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-actions>button{white-space:normal;width:100%;min-height:56px;padding:12px 16px;line-height:1.4}
 .cmg-shell #workspace .team-poster.is-text-expanded .team-poster-actions>button>span{min-width:0;overflow-wrap:anywhere}
}
