/* Account 3 mobile navigation, 2026-11-18. The approved gold/royal blue/magenta identity stays intact. */
.gcc-mobile-menu-button{display:none}
.gcc-mobile-backdrop[hidden]{display:none!important}
.gcc-mobile-backdrop{position:fixed;inset:0;z-index:5100;background:rgba(6,18,49,.55)}
.gcc-mobile-drawer{position:fixed;z-index:5101;inset:0 auto 0 0;width:min(86vw,350px);max-width:100%;height:100dvh;background:#fff;color:#18314f;box-shadow:14px 0 46px #06142c50;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s;overflow-y:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}
.gcc-mobile-drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.gcc-drawer-header{min-height:78px;display:flex;align-items:center;gap:16px;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 18px 14px;background:#1235ff;color:#fff;border-bottom:3px solid #ffd43b}
.gcc-drawer-header strong{font-size: 1rem;line-height:1.3;max-width:240px}
.gcc-mobile-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:#ffffff20;border:1px solid #ffffff88;color:#fff;border-radius:12px;font-size:32px;line-height:1;cursor:pointer}
.gcc-mobile-drawer nav{display:grid;gap:3px;padding:12px}
.gcc-mobile-drawer nav>a{display:flex;align-items:center;min-height:50px;padding:12px 16px;color:#18314f;text-decoration:none;font-size: 16px;font-weight:700;border-radius:10px;overflow-wrap:anywhere}
.gcc-mobile-drawer nav>button{display:flex;align-items:center;min-height:50px;width:100%;padding:12px 16px;color:#18314f;border:0;background:none;font:inherit;font-size: 16px;font-weight:700;border-radius:10px;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.gcc-mobile-drawer nav>button:hover,.gcc-mobile-drawer nav>button:focus-visible{background:#edf3ff}
.gcc-mobile-drawer nav>a:hover,.gcc-mobile-drawer nav>a:focus-visible{background:#edf3ff}
.gcc-mobile-drawer nav>a[aria-current="page"]{color:#1146c9;background:#eaf0ff;border-left:4px solid #f00080}
.gcc-drawer-open{overflow:hidden}
@media(max-width:760px){
 /* The menu starts on the left, like a mature social platform, without wrapping a row of links. */
 body.community-unified-theme .gcc-premium-header{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;min-width:0}
 body.community-unified-theme .gcc-premium-header .gcc-brand{grid-column:1!important;grid-row:1!important;height:68px!important;justify-content:flex-start!important;gap:10px!important;padding:8px 14px!important;border:0!important}
 body.community-unified-theme .gcc-premium-header .gcc-flagbar{grid-column:1!important;grid-row:2!important;height:43px!important}
 body.community-unified-theme .gcc-premium-header .gcc-toolbar{grid-column:1!important;grid-row:3!important;width:100%!important;display:block!important;padding:8px 12px 10px!important;background:#1235ff!important}
 body.community-unified-theme .gcc-premium-header .gcc-menu{display:none!important}
 body.community-unified-theme .gcc-premium-header .gcc-search{display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important;margin:0!important}
 body.community-unified-theme .gcc-premium-header .gcc-search input{font-size: 16px !important;min-height:43px!important}
 body.community-unified-theme .gcc-premium-header .gcc-name strong{font-size: 16px !important}
 body.community-unified-theme .gcc-premium-header .gcc-name>span{font-size: 16px !important}
 body.community-unified-theme .gcc-mobile-menu-button{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;border:0!important;border-radius:11px;background:#ffffff12!important;color:#fff!important;cursor:pointer;padding:8px!important;box-shadow:none!important}
 body.community-unified-theme .gcc-mobile-menu-button:focus-visible{outline:3px solid #ffd43b;outline-offset:1px}
 /* Restore contrast and equal widths to all six bottom actions. */
 body.community-unified-theme .mobile-dock{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important;width:100%!important;min-height:62px!important;max-height:none!important;padding:7px max(7px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))!important;background:linear-gradient(105deg,#06237b,#1235ff 54%,#06237b)!important;border-top:2px solid #ffcf32!important;box-shadow:0 -5px 18px #10265522!important;z-index:1500!important}
 body.community-unified-theme .mobile-dock>.dock-action,body.community-unified-theme .mobile-dock>.mobile-more{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:none!important;width:auto!important;min-height:48px!important;height:48px!important;margin:0!important;padding:0!important;flex:1 1 0!important;position:relative}
 body.community-unified-theme .mobile-dock .dock-action{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:none!important;width:auto!important;min-height:48px!important;height:48px!important;margin:0!important;padding:6px!important;border-radius:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;opacity:1!important;cursor:pointer}
 body.community-unified-theme .mobile-dock .mobile-more>summary{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:100%!important;width:100%!important;min-height:48px!important;height:48px!important;margin:0!important;padding:6px!important;border-radius:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;opacity:1!important;cursor:pointer}
 body.community-unified-theme .mobile-dock svg{display:block!important;width:27px!important;height:27px!important;flex:none!important;stroke:currentColor!important;stroke-width:2.15!important;opacity:1!important}
 body.community-unified-theme .mobile-dock .dock-action[aria-current="page"],body.community-unified-theme .mobile-dock .mobile-more[open]>summary{color:#fff!important;background:linear-gradient(155deg,#ff1bb9,#e00091)!important}
 body.community-unified-theme .mobile-dock .dock-action[aria-current="page"]::before{content:"";position:absolute;top:-8px;left:24%;right:24%;height:3px;border-radius:4px;background:#f00080}
 body.community-unified-theme .mobile-dock .dock-notifications[data-unread]::after{top:0!important;right:1px!important;min-width:22px!important;height:22px!important;line-height:22px!important;background:#ed007b!important}
 body.community-unified-theme .mobile-dock .mobile-more-menu{position:absolute!important;right:0!important;bottom:calc(100% + 12px)!important;max-width:min(300px,90vw)!important;width:min(300px,90vw)!important;z-index:2000!important;background:#fff!important;color:#173462!important;border:1px solid #ccdaed!important;box-shadow:0 12px 34px #10254b45!important}
 /* Hourly #4 (20 Nov 2026) — mobile dock equal-width fix. Root cause: the More
    <details> carried flex:1 1 auto + width:100% while the five .dock-action
    items carried flex:1 1 0, so More took the whole row and the five actions
    collapsed to zero content width: icons overlapping at the far left,
    hamburger mid-bar, rest of the bar empty. Every direct child now shares
    the row equally; the active background stays on the item itself. This
    block is identical in community-premium-navigation.css, so whichever
    sheet loads last wins with the same values. */
 html body.community-unified-theme .mobile-dock{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:2px!important;box-sizing:border-box!important}
 html body.community-unified-theme .mobile-dock>.dock-action,html body.community-unified-theme .mobile-dock>.mobile-more{flex:1 1 0!important;min-width:0!important;max-width:none!important;width:auto!important;box-sizing:border-box!important;margin:0!important;min-height:56px!important;height:auto!important}
 html body.community-unified-theme .mobile-dock>.mobile-more>summary{width:100%!important;min-width:0!important;max-width:none!important;min-height:56px!important;height:auto!important;box-sizing:border-box!important}
 body.community-unified-theme{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){.gcc-mobile-drawer{transition:none!important}}

/* Compact one-tap creation menu for all four native Account 3 posting modes. */
.gcc-create-wrap{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;z-index:12}
.gcc-create-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-width:48px;min-height:46px;padding:7px 11px;border:1px solid #ffdb48;border-radius:12px;background:#ffffff;color:#1235ff;font-weight:850;cursor:pointer;box-shadow:0 1px 5px #05164b24}
.gcc-create-button svg{display:block;width:26px;height:26px;stroke:currentColor}
.gcc-create-button:hover,.gcc-create-button[aria-expanded="true"]{background:#fff3fb;color:#dc007f;border-color:#ffdb48}
.gcc-create-text{font-size: 16px}
.gcc-create-menu[hidden]{display:none!important}
.gcc-create-menu{position:absolute;z-index:5400;top:calc(100% + 10px);right:0;width:min(305px,calc(100vw - 28px));display:grid;gap:2px;padding:9px;border:1px solid #d7dfef;border-radius:17px;background:#fff;color:#172b4b;box-shadow:0 14px 40px #061a4545}
.gcc-create-menu>a{display:flex;align-items:center;gap:14px;min-height:55px;padding:10px 12px;border-radius:12px;font-size: 16px;font-weight:750;color:#18314f;text-decoration:none;white-space:normal}
.gcc-create-menu>a:hover,.gcc-create-menu>a:focus-visible{background:#edf3ff;color:#0843b0}
.gcc-create-format-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;background:#f0f4ff;color:#1235ff;font-size:21px;font-weight:850}
@media(max-width:760px){
 body.community-unified-theme .gcc-premium-header .gcc-create-wrap{margin-left:auto!important;position:relative;align-self:center}
 body.community-unified-theme .gcc-premium-header .gcc-create-button{min-width:46px;width:46px;max-width:46px;min-height:46px;height:46px;padding:8px!important;background:#fff!important;color:#1034ae!important;border:1px solid #ffcf32!important;border-radius:12px!important}
 body.community-unified-theme .gcc-premium-header .gcc-create-button svg{width:27px;height:27px}
 body.community-unified-theme .gcc-premium-header .gcc-create-text{display:none!important}
 body.community-unified-theme .gcc-premium-header .gcc-create-menu{position:fixed!important;top:calc(64px + env(safe-area-inset-top))!important;right:12px!important;left:auto!important;max-height:calc(100dvh - 110px)!important;overflow-y:auto!important;width:min(300px,calc(100vw - 24px))!important}
}


/* #820 (25 Nov 2026, owner order ~15:09 WAT): the duplicate brand is
   OFF the top bar at every width — the banner carries the name + logo.
   The #812 base brand rules that stood here are deleted with it; the
   #820 top-bar block at the foot of this file is the one arrangement. */
.gc-auth-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:9px;margin:0;padding:0}
.gc-auth-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 14px;border-radius:999px;text-decoration:none;font-size: 16px;line-height:1.15;font-weight:800;white-space:nowrap;box-shadow:0 2px 9px #0a26621c}
.gc-auth-actions .gc-auth-login{background:#fff;color:#1236a8;border:1.5px solid #8ba5e4}
.gc-auth-actions .gc-auth-register{background:#e00091;color:#fff;border:1.5px solid #ffcf32}
.gc-auth-actions>a:focus-visible{outline:3px solid #ffcf32;outline-offset:2px}
@media(max-width:760px){
 html body.community-unified-theme .gcc-premium-header{display:block!important;min-height:0!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;background:#1235ff!important;border-bottom:3px solid #ffcf32!important}
 html body.community-unified-theme .gcc-premium-header :is(.gcc-brand,.gcc-flagbar,.gcc-premium-nav,.gcc-menu){display:none!important}
 html body.community-unified-theme .gcc-premium-header .gcc-toolbar{display:grid!important;grid-template-columns:42px minmax(0,1fr) 44px!important;grid-template-rows:48px 45px!important;column-gap:9px!important;row-gap:6px!important;align-items:center!important;align-content:start!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:7px 12px 9px!important;margin:0!important;background:#1235ff!important;border:0!important;position:relative!important}
 html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{display:grid!important;grid-column:1!important;grid-row:1!important;width:42px!important;height:42px!important;min-height:42px!important;min-width:42px!important;margin:0!important;padding:8px!important;border:1px solid #ffffff69!important;background:#ffffff19!important;border-radius:11px!important;justify-self:start!important}
 html body.community-unified-theme .gcc-premium-header .gcc-create-wrap{grid-column:3!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;justify-self:end!important;position:relative!important}
 html body.community-unified-theme .gcc-premium-header .gcc-create-button{height:42px!important;width:42px!important;min-height:42px!important;min-width:42px!important;max-width:42px!important;margin:0!important;padding:7px!important;border-radius:12px!important}
 html body.community-unified-theme .gcc-premium-header .gcc-search{display:flex!important;grid-column:1 / -1!important;grid-row:2!important;position:relative!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:visible!important;border-radius:14px!important;border:1.5px solid #ffcf32!important;background:#fff!important;box-shadow:0 1px 5px #091b4a24!important}
 html body.community-unified-theme .gcc-premium-header .gcc-search input{display:block!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;height:41px!important;min-height:41px!important;margin:0!important;padding:9px 12px!important;font-size: 16px !important;color:#17244f!important;background:#fff!important;border-radius:13px!important;box-shadow:none!important}
 html body.community-unified-theme .gcc-premium-header .gcc-search button{display:grid!important;place-items:center!important;flex:0 0 45px!important;height:41px!important;min-height:41px!important;min-width:45px!important;width:45px!important;margin:0!important;padding:0!important;border-radius:0 12px 12px 0!important;background:#e00091!important;color:#fff!important;font-size: 25px !important}
 html body.community-unified-theme .gcc-premium-header :is(.gcc-header-notifications,.gcc-header-messages,.gcc-search-toggle){display:none!important}
 html body.community-unified-theme[data-page="home"] .gcc-reference-banner{position:relative!important;display:block!important;clear:both!important;margin:0!important;top:auto!important;transform:none!important;z-index:1!important}
 html body.community-unified-theme[data-page="home"] .gcc-reference-banner img{width:100%!important;height:auto!important;max-height:none!important;display:block!important}
 html body.community-unified-theme #authbar{display:flex!important;justify-content:flex-end!important;align-items:center!important;min-height:0!important;padding:8px 12px!important;margin:0!important;background:transparent!important}
 html body.community-unified-theme #authbar .gc-auth-actions{justify-content:flex-end!important;gap:8px!important;width:auto!important}
 html body.community-unified-theme #authbar .gc-auth-actions>a{min-height:38px!important;padding:8px 12px!important;font-size: 16px !important}
 html body.community-unified-theme[data-page="home"] .social-stream .composer-card{min-height:0!important;height:auto!important;padding:12px!important;margin:8px 0 12px!important}
 html body.community-unified-theme[data-page="home"] .social-stream .stream-heading{margin-block:5px!important;padding-block:3px!important}
 html body.community-unified-theme[data-page="home"] .social-layout{gap:10px!important}
}


/* Final approved mobile header: menu | compact inline search | Create. Banner alone carries the network name. */
@media(max-width:760px){
 html body.community-unified-theme .gcc-premium-header .gcc-toolbar{
  display:grid!important;grid-template-columns:42px minmax(0,1fr) 44px!important;
  grid-template-rows:46px!important;column-gap:8px!important;row-gap:0!important;
  padding:6px 10px!important;min-height:0!important;height:58px!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search{
  grid-column:2!important;grid-row:1!important;align-self:center!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;border-radius:13px!important;overflow:visible!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search input{
  min-height:37px!important;height:37px!important;font-size: 16px !important;
  padding:6px 8px!important;border-radius:12px 0 0 12px!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search input::placeholder{
  color:#66738f!important;opacity:1!important
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search button{
  flex:0 0 37px!important;width:37px!important;min-width:37px!important;
  min-height:37px!important;height:37px!important;font-size: 21px !important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{
  grid-column:1!important;grid-row:1!important;align-self:center!important
 }
 html body.community-unified-theme .gcc-premium-header .gcc-create-wrap{
  grid-column:3!important;grid-row:1!important;align-self:center!important
 }
}


/* Approved right-aligned search: white field with the original vivid-magenta right action. */
@media(max-width:760px){
 html body.community-unified-theme .gcc-premium-header .gcc-search{
  justify-self:end!important;align-self:center!important;
  width:min(100%,300px)!important;max-width:100%!important;
  display:flex!important;background:#fff!important;
  border:2px solid #ffcf32!important;border-radius:13px!important;
  box-shadow:0 2px 8px #071c6660!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search input{
  background:#fff!important;color:#152044!important;flex:1 1 auto!important;
  width:0!important;min-width:0!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search button{
  display:grid!important;place-items:center!important;
  flex:0 0 48px!important;width:48px!important;min-width:48px!important;
  background:linear-gradient(145deg,#ff1bb9,#e00091)!important;
  color:#fff!important;border:0!important;border-radius:0 10px 10px 0!important;
  font-size: 23px !important;font-weight:900!important;
 }
}

/* Approved coordinated magenta accents: plus symbol and the mobile menu outline. */
@media(max-width:760px){
 html body.community-unified-theme .gcc-premium-header .gcc-create-button{
  color:#e00091!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-create-button svg{
  color:#e00091!important;stroke:#e00091!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{
  border:2px solid #e00091!important;
 }
}


/* Mobile header / banner separation: search stays within normal-flow header, never over the artwork. */
@media(max-width:760px){
 html body.community-unified-theme>.gcc-premium-header,
 html body.community-unified-theme .gcc-premium-header{
  position:relative!important;display:block!important;float:none!important;
  inset:auto!important;top:auto!important;left:auto!important;right:auto!important;
  height:auto!important;min-height:60px!important;max-height:none!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  isolation:isolate!important;background:#1235ff!important;z-index:1000!important;
  overflow:visible!important;border-bottom:3px solid #e00091!important;
 }
 html body.community-unified-theme .gcc-premium-header>.gcc-toolbar{
  position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;
  transform:none!important;float:none!important;clear:both!important;
  height:58px!important;min-height:58px!important;max-height:58px!important;
  display:grid!important;grid-template-columns:42px minmax(0,1fr) 44px!important;
  grid-template-rows:46px!important;align-items:center!important;
  padding:6px 10px!important;margin:0!important;box-sizing:border-box!important;
  overflow:visible!important;background:#1235ff!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-search{
  position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;
  transform:none!important;float:none!important;align-self:center!important;justify-self:end!important;
  grid-column:2!important;grid-row:1!important;z-index:1!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:0!important;margin:0!important;box-sizing:border-box!important;
 }
 html body.community-unified-theme[data-page="home"] .gcc-reference-banner,
 html body.community-unified-theme[data-page="home"] .gc-reference-banner{
  position:relative!important;top:auto!important;bottom:auto!important;inset-inline:auto!important;
  transform:none!important;float:none!important;clear:both!important;
  margin-top:0!important;padding-top:0!important;z-index:0!important;
 }
 html body.community-unified-theme[data-page="home"] main,
 html body.community-unified-theme[data-page="home"] .shell{
  transform:none!important;
 }
}


/* Approved high-contrast navigation and visible selected state across mobile devices. */
@media(max-width:760px){
 html body.community-unified-theme .mobile-dock{background:linear-gradient(105deg,#06237b,#1235ff 54%,#06237b)!important;border-top:2px solid #ffcf32!important}
 html body.community-unified-theme .mobile-dock .dock-action,
 html body.community-unified-theme .mobile-dock .mobile-more>summary{
  color:#fff!important;opacity:1!important;
 }
 html body.community-unified-theme .mobile-dock svg{stroke:#fff!important;stroke-width:2.8!important;opacity:1!important;filter:drop-shadow(0 1px 1px #06135866)}
 html body.community-unified-theme .mobile-dock :is(.dock-action[aria-current="page"],.mobile-more[open]>summary){
  background:linear-gradient(155deg,#ff1bb9,#e00091)!important;color:#fff!important;
  border:1.5px solid #ffcf32!important;border-radius:14px!important
 }
 html body.community-unified-theme .mobile-dock :is(.dock-action[aria-current="page"],.mobile-more[open]>summary) svg{stroke:#fff!important;stroke-width:3!important}
}

/* #811 bend (24 Nov 2026, owner order 18:33 WAT): the layout must bend
   like Facebook's at EVERY width from 360px to 980px. The drawer itself
   works at any width (its position/fixed rules are not media-gated and
   setDrawer() has no width check) — only the hamburger button was hidden
   above 760px, so at 761-980px there was NO way to open the navigation
   at all. This shows the 42px button at <=980px (same size/style as the
   Facebook top bar); the drawer takes over navigation there, the same as
   on the phone. */
@media(max-width:980px){
 html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;margin:0!important;padding:8px!important;border:1px solid #ffffff69!important;background:#ffffff19!important;border-radius:11px!important;color:#fff!important}
}

/* #820 Facebook top bar (owner order 25 Nov ~15:09 WAT): the duplicate
   brand is OFF the top bar at every width — the banner below carries
   the name + logo (locked artwork, untouched). One clean row of
   circular icon buttons: hamburger + search left, create /
   notifications / chats right, evenly spaced. 40px circles (Facebook
   touch-target size) with 24px glyphs (the v832 glyph standard); the
   dock/rail tiles keep the 32px/24px standard. The hamburger keeps
   its existing visibility (shown <=980px by the bend block above,
   hidden on wide desktop where the rail navigates) — this block sets
   its size/shape only. The create button keeps its white + gold
   identity, now a circle; its text label hides (aria-label/title
   stay). This block is LAST so it wins every earlier toolbar rule at
   equal specificity. */
html body.community-unified-theme .gcc-premium-header .gcc-toolbar{gap:8px!important}
html body.community-unified-theme .gcc-premium-header :is(.gcc-search-toggle,.gcc-create-button,.gcc-header-notifications,.gcc-header-messages){display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex:0 0 40px!important;margin:0!important;padding:0!important;border-radius:50%!important}
html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex:0 0 40px!important;margin:0!important;padding:0!important;border-radius:50%!important}
html body.community-unified-theme .gcc-premium-header :is(.gcc-mobile-menu-button,.gcc-search-toggle,.gcc-create-button,.gcc-header-notifications,.gcc-header-messages) svg{width:24px!important;height:24px!important}
html body.community-unified-theme .gcc-premium-header :is(.gcc-search-toggle,.gcc-header-notifications,.gcc-header-messages){background:#ffffff1a!important;border:1px solid #ffffff40!important;color:#fff!important;text-decoration:none!important;cursor:pointer!important}
html body.community-unified-theme .gcc-premium-header .gcc-create-text{display:none!important}
/* #820 mobile arrangement: hamburger + search left; create, bell,
   chats right. The search field stays shut until the magnifier opens
   it (Facebook mobile), then takes the full-width second row. */
@media(max-width:760px){
 html body.community-unified-theme .gcc-premium-header .gcc-toolbar{
  display:grid!important;grid-template-columns:40px 40px minmax(0,1fr) 40px 40px 40px!important;
  grid-template-rows:46px auto!important;column-gap:8px!important;row-gap:0!important;
  padding:6px 10px!important;min-height:58px!important;height:auto!important;max-height:none!important;
 }
 html body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:start!important}
 html body.community-unified-theme .gcc-premium-header .gcc-search-toggle{grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:start!important}
 html body.community-unified-theme .gcc-premium-header .gcc-create-wrap{grid-column:4!important;grid-row:1!important;align-self:center!important;justify-self:end!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:0!important}
 html body.community-unified-theme .gcc-premium-header .gcc-header-notifications{grid-column:5!important;grid-row:1!important;align-self:center!important;justify-self:end!important}
 html body.community-unified-theme .gcc-premium-header .gcc-header-messages{grid-column:6!important;grid-row:1!important;align-self:center!important;justify-self:end!important}
 /* The search field stays shut until the magnifier opens it (Facebook mobile). */
 html body.community-unified-theme .gcc-premium-header .gcc-search{display:none!important}
 html body.community-unified-theme .gcc-premium-header.gcc-search-open .gcc-search{
  display:flex!important;grid-column:1 / -1!important;grid-row:2!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;
  margin:6px 0 0!important;
 }
}
