/* Explicit non-overlapping header cells across intermediate viewport widths. */
@media(max-width:1280px){
 #communityPage>header.room-header-centered{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:12px 8px;padding:12px 16px;box-sizing:border-box;min-width:0;height:auto;max-height:none;overflow:visible!important}
 #communityPage>header.room-header-centered>.room-identity{grid-column:1;grid-row:1;justify-self:start}
 #communityPage .room-centered-brand{display:contents}
 #communityPage .room-centered-brand>.brand{grid-column:2 / -1;grid-row:1;justify-self:center;max-width:100%;font-size:20px;line-height:1.4}
 #communityPage .room-centered-brand>.room-top-socials{grid-column:1 / 3;grid-row:2;justify-self:start;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;width:auto;min-width:0;max-width:100%;gap:8px}
 #communityPage>header.room-header-centered>.room-toolbar{grid-column:3;grid-row:2;justify-self:end;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;width:auto;min-width:0;max-width:100%;height:auto}
 #communityPage>header.room-header-centered .community-account-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}
 #communityPage>header.room-header-centered .room-toolbar>*{flex-shrink:0;max-width:100%}
}
@media(max-width:640px){
 #communityPage>header.room-header-centered{grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;gap:10px 8px;padding:12px}
 #communityPage .room-centered-brand>.brand{grid-column:2;grid-row:1;font-size:18px;white-space:normal;text-align:center}
 #communityPage .room-centered-brand>.room-top-socials{grid-column:1 / -1;grid-row:2;justify-self:center;justify-content:center;width:auto}
 #communityPage>header.room-header-centered>.room-toolbar{grid-column:1 / -1;grid-row:3;justify-self:center;justify-content:center;flex-wrap:wrap;max-width:100%;gap:8px;padding-top:0}
}
