/* Fit the room header to its actual content width, including the desktop sidebar. */
#communityPage>header.room-header-centered{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;padding:12px 16px;height:auto;max-height:none;min-width:0;box-sizing:border-box}
#communityPage>header.room-header-centered>.room-identity{position:absolute;left:12px;top:12px;margin:0}
#communityPage>header.room-header-centered .room-centered-brand{display:contents}
#communityPage>header.room-header-centered .room-centered-brand>.brand{order:1;flex:0 0 100%;width:100%;max-width:100%;text-align:center;white-space:nowrap;font-size:20px;line-height:1.4;padding:0 34px;box-sizing:border-box}
#communityPage>header.room-header-centered .room-centered-brand>.room-top-socials{order:2;display:flex;align-items:center;justify-content:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;width:auto;max-width:none;min-width:0;justify-self:auto}
#communityPage>header.room-header-centered>.room-toolbar{order:3;position:static;display:flex;align-items:center;justify-content:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;width:auto;max-width:none;min-width:0;padding:0;margin:0;justify-self:auto}
#communityPage>header.room-header-centered .community-account-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}
#communityPage>header.room-header-centered.room-header-wide{flex-wrap:nowrap;justify-content:space-between;gap:12px;padding:12px 16px}
#communityPage>header.room-header-centered.room-header-wide>.room-identity{position:static;flex:0 0 auto}
#communityPage>header.room-header-centered.room-header-wide .room-centered-brand{order:1;display:flex;align-items:center;justify-content:center;gap:18px;flex:1 1 auto;min-width:0}
#communityPage>header.room-header-centered.room-header-wide .room-centered-brand>.brand{order:0;flex:0 0 auto;width:auto;padding:0;font-size:22px}
#communityPage>header.room-header-centered.room-header-wide>.room-toolbar{flex:0 0 auto;order:2}
@media(max-width:760px){
 #communityPage>header.room-header-centered{gap:8px 6px;padding:10px 8px}
 #communityPage>header.room-header-centered .room-centered-brand>.brand{font-size:18px;padding-inline:30px}
 #communityPage>header.room-header-centered .room-toolbar{gap:4px}
 #communityPage>header.room-header-centered .community-account-actions{gap:4px}
 #communityPage>header.room-header-centered .room-top-socials{gap:4px}
 #communityPage>header.room-header-centered .room-top-socials .room-social-menu>summary{font-size:12px;padding-inline:5px;min-height:44px;display:flex;align-items:center}
 #communityPage>header.room-header-centered .room-top-socials .room-join-discord{width:38px;min-width:38px;height:44px;padding:8px}
 #communityPage>header.room-header-centered .room-layout-label{width:44px!important;flex-basis:44px;height:38px!important;min-height:38px}
 #communityPage>header.room-header-centered #messagesToggle{width:40px;min-width:40px;min-height:44px;padding:8px}
 #communityPage>header.room-header-centered .account-menu>summary{padding:0;min-height:44px;gap:3px;display:flex;align-items:center}
 #communityPage>header.room-header-centered .extra-tour-button{font-size:12px;padding:8px 10px;min-height:38px}
 #communityPage .stream-section-tabs button{font-size:11.5px;padding:10px 7px;min-height:44px}
}

/* A small breathing space above the approved community header. */
#communityPage>header.room-header-centered{margin-top:8px!important}
