
/* Shared centered canvas for all existing RMC tabs. CSS only. */
html[data-theme] body.rmc-side-ready .app-shell{min-width:0;max-width:none}
html[data-theme] body.rmc-side-ready .content{box-sizing:border-box;width:calc(100% - 64px);max-width:1120px;margin-inline:auto;min-width:0;align-self:center}
html[data-theme] .content>[role=tabpanel]{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin-inline:auto;align-self:center}
html[data-theme] .content>[role=tabpanel]>:is(div,section,form){min-width:0;max-width:100%;margin-inline:auto}
html[data-theme] .content .section-head{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px;padding-left:0}
html[data-theme] .content .section-head>div{text-align:center}
html[data-theme] .content .section-head :is(h1,p){margin-inline:auto}
html[data-theme] .content .section-head p{max-width:65ch}
html[data-theme] .content .section-head>.meta{align-self:center}
html[data-theme] :is(.stats-page,.stats-summary,.teams-grid,.public-players-grid,.admin-grid,.team-register-layout,.stream-hub,.player-showcase,.collection-toolbar){margin-inline:auto;min-width:0;max-width:100%}
html[data-theme] .content :is(.team-page-head,.player-page-head,.stream-page-head){align-items:center;text-align:center}
html[data-theme] .content :is(.community-players>header,.home-section-heading){justify-content:center;align-items:center;text-align:center;flex-wrap:wrap}
html[data-theme] .content .community-players>header{flex-direction:column;gap:12px}
html[data-theme] .content .stats-page>.section-head{align-items:center}
@media(min-width:901px){
html[data-theme] body.rmc-side-ready main>footer{justify-content:center;gap:24px;text-align:center}
}
@media(max-width:900px){
html[data-theme] body.rmc-side-ready .content{width:calc(100% - 40px);margin-inline:auto}
}
@media(max-width:680px){
html[data-theme] body.rmc-side-ready .content{width:calc(100% - 24px);margin-inline:auto}
html[data-theme] .content .section-head{gap:12px;align-items:center}
html[data-theme] .content .section-head>div{max-width:100%}
html[data-theme] .content .section-head h1{overflow-wrap:anywhere}
}
