.cb-hd-menu,.cb-hd-compose-actions,.cb-hd-connections,.cb-hd-nav-icon,.cb-hd-story-next{display:none}
@media(min-width:901px){
 body.cb-desktop-home-mode{background:#f0f2f5}
 body.cb-desktop-home-mode #homeLayout:not(.hidden){display:grid!important;grid-template-columns:300px minmax(0,680px) 300px!important;justify-content:space-between!important;gap:24px!important;width:100%!important;max-width:none!important;margin:0!important;padding:calc(var(--cb-home-top,64px) + 16px) 20px 24px!important;box-sizing:border-box!important;align-items:start!important}
 body.cb-desktop-home-mode #featureView{width:100%!important;max-width:none!important;margin:0!important;padding:calc(var(--cb-home-top,64px) + 16px) 20px 24px!important;box-sizing:border-box!important}
 body.cb-desktop-home-mode #featureView>.cb-page-identity-surface{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body.cb-desktop-home-mode .cb-page-full-layout{grid-template-columns:300px minmax(0,680px) 300px!important;justify-content:space-between!important;gap:24px!important;max-width:none!important;margin:0!important}
 body.cb-desktop-home-mode .cb-page-home-main{min-width:0!important}
 body.cb-desktop-home-mode .cb-page-home-feed-surface{display:flex!important;flex-direction:column!important;background:transparent!important;padding:0!important;box-shadow:none!important;border:0!important;min-width:0!important}
 body.cb-desktop-home-mode #homeLayout>.feed-column{display:flex!important;flex-direction:column!important;min-width:0!important;gap:12px!important;padding:0!important}
 body.cb-desktop-home-mode .cb-hd-left,body.cb-desktop-home-mode .cb-hd-right{position:sticky!important;top:calc(var(--cb-home-top,64px) + 16px)!important;height:auto!important;max-height:calc(100vh - var(--cb-home-top,64px) - 24px)!important;overflow-y:auto!important;min-width:0!important;background:transparent!important;padding:0 6px 12px 0!important;scrollbar-width:thin}
 body.cb-desktop-home-mode .cb-hd-left>:not(.cb-hd-menu){display:none!important}
 body.cb-desktop-home-mode .cb-hd-menu{display:block}
 body.cb-desktop-home-mode .cb-hd-menu button,body.cb-desktop-home-mode .cb-hd-connections button{display:flex;align-items:center;gap:14px;min-height:52px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;text-align:left;font:600 16px var(--cb-ui-font,sans-serif);color:#1c1e21;cursor:pointer}
 body.cb-desktop-home-mode .cb-hd-menu button:hover,body.cb-desktop-home-mode .cb-hd-connections button:hover{background:#e4e6eb}
 .cb-hd-menu button>span:last-child{min-width:0;overflow-wrap:anywhere}
 .cb-hd-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#e3edff;color:#1877f2}
 .cb-hd-icon svg{width:27px;height:27px}
 .cb-hd-saved{color:#a63cda;background:#f0e3ff}.cb-hd-video{color:#ef4674;background:#ffe8ee}.cb-hd-ads{color:#168bd4;background:#e2f4ff}.cb-hd-dashboard{color:#2778de;background:#dfecff}.cb-hd-pages{color:#ed8b24;background:#fff0df}.cb-hd-groups,.cb-hd-people{color:#178de2;background:#e1f1ff}
 .cb-hd-profile img{width:38px;height:38px;border-radius:50%;object-fit:cover}.cb-hd-profile b{min-width:0;overflow-wrap:anywhere;font-size:16px}
 .cb-hd-extra[hidden]{display:none!important}.cb-hd-shortcuts{border-top:1px solid #ccd0d5;padding-top:12px;margin-top:8px}.cb-hd-shortcuts h3{font-size:16px;color:#65676b;margin:0 10px 6px}.cb-hd-shortcuts img{width:34px;height:34px;object-fit:cover;border-radius:7px}.cb-hd-menu footer{padding:16px 10px;color:#65676b;font-size:12px;line-height:1.6}
 body.cb-desktop-home-mode #homeLayout .modern-composer,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;order:0!important;padding:12px!important;margin:0!important;background:#fff!important;border-radius:10px!important;border:1px solid #e4e6eb!important;box-shadow:0 1px 2px #0001!important;min-width:0!important}
 body.cb-desktop-home-mode #homeLayout .composer-inline-actions,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer>button:not(:first-of-type){display:none!important}
 body.cb-desktop-home-mode #homeLayout .composer-input,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer>button:first-of-type{background:#f0f2f5!important;border:0!important;border-radius:30px!important;text-align:left!important;font-size:17px!important;font-weight:400!important;min-width:0!important;width:100%!important;padding:11px 14px!important;color:#65676b!important}
 body.cb-desktop-home-mode .cb-hd-compose-actions{display:flex;gap:4px;align-items:center;grid-column:3}
 .cb-hd-compose-actions button{display:grid;place-items:center;border:0;padding:7px;background:transparent;border-radius:6px;cursor:pointer}.cb-hd-compose-actions button:hover{background:#f0f2f5}.cb-hd-compose-actions button>span:last-child{display:none}.cb-hd-compose-actions .cb-hd-icon{background:transparent;width:27px;height:27px;flex-basis:27px}.cb-hd-compose-actions .cb-hd-live{color:#f3425f}.cb-hd-compose-actions .cb-hd-photo{color:#35b960}
 body.cb-desktop-home-mode #homeLayout .feed-column>#cbStoriesStrip,body.cb-desktop-home-mode #cbPageHomeStoriesMount{order:1!important;margin:0!important;min-width:0!important}
 body.cb-desktop-home-mode #feedMessage{order:2;margin:0!important}body.cb-desktop-home-mode #feedContainer{order:3}
 body.cb-desktop-home-mode #cbPageNetworkFeed{order:2!important;margin-top:12px!important}
 body.cb-desktop-home-mode #cbStoriesStrip{position:relative!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important;border-radius:10px!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-stories-row{display:flex!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:none;padding:0!important;align-items:stretch!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-story-card,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack{flex:0 0 120px!important;width:120px!important;min-width:120px!important;height:210px!important;border-radius:10px!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack{display:grid!important;grid-template-rows:1fr 1fr!important;gap:6px!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack #cbCreateStoryCard,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack #cbCreateReelCard{display:flex!important;height:100%!important;min-height:0!important;width:100%!important;min-width:0!important;position:relative!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px 4px!important;color:white!important;background:linear-gradient(135deg,#1877f2,#41a5ff)!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack #cbCreateReelCard{background:linear-gradient(135deg,#e88a20,#af396d)!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack #cbCreateStoryCard::after,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack .cb-story-overlay,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack .cb-create-story-profile{display:none!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack .cb-story-plus,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack .cb-story-name{position:static!important;transform:none!important;width:auto!important;height:auto!important;border:0!important;background:none!important;color:white!important;text-shadow:none!important}
 body.cb-desktop-home-mode #cbStoriesStrip .cb-story-name{font-size:13px!important}
 body.cb-desktop-home-mode .cb-hd-story-next{display:grid;place-items:center;position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:5;border:0;border-radius:50%;background:white;color:#65676b;width:42px;height:42px;box-shadow:0 2px 8px #0003;font-size:32px;cursor:pointer}
 body.cb-desktop-home-mode .cb-hd-right h3{font-size:17px;color:#65676b;margin:4px 0 12px}
 body.cb-desktop-home-mode .cb-hd-right :is(.ad-box,.cb-page-ad-box){width:100%!important;min-height:140px!important;max-height:240px;border-radius:9px!important;margin-bottom:12px;background:#e4e6eb!important;overflow:hidden;cursor:pointer}
 .cb-hd-connections{display:block;border-top:1px solid #ccd0d5;padding-top:14px;margin-top:16px}
 body.cb-desktop-home-mode .cb-hd-nav-icon{display:grid;place-items:center;color:#65676b}.cb-hd-nav-icon svg{width:27px;height:27px}
 body.cb-desktop-home-mode .top-nav .nav-button:has(.cb-hd-nav-icon)>img{display:none!important}
 body.cb-desktop-home-mode .top-nav .nav-button.active .cb-hd-nav-icon{color:#1877f2}
 body.cb-desktop-home-mode .post{border-radius:10px!important;overflow:visible!important;margin-bottom:14px!important;border:1px solid #e4e6eb!important;background:#fff!important}
 @media(max-width:1390px){body.cb-desktop-home-mode #homeLayout,body.cb-desktop-home-mode .cb-page-full-layout{grid-template-columns:250px minmax(0,680px) 250px!important;gap:20px!important}}
 @media(max-width:1190px){body.cb-desktop-home-mode #homeLayout,body.cb-desktop-home-mode .cb-page-full-layout{grid-template-columns:240px minmax(0,680px)!important;justify-content:center!important;gap:24px!important}body.cb-desktop-home-mode .cb-hd-right{display:none!important}}
}

/* v72: retain branded navigation images and desktop notification button. */
#cbHomeShowMenu{display:none}
@media(min-width:901px){
 #topNotificationsBtn{display:inline-flex!important;align-items:center;justify-content:center;order:3}
 .top-right #topMessagesBtn{order:2}.top-right #languageButton{order:0}.top-right #topCreateBtn{order:1}.top-right #profileButton{order:4}
 body.cb-desktop-home-mode .cb-hd-nav-icon{display:none!important}
 body.cb-desktop-home-mode .top-nav .nav-button>img{display:block!important;width:30px;height:30px;object-fit:contain}
 body.cb-desktop-home-mode .cb-hd-left{padding-left:24px!important}
 .cb-hd-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 8px}
 body.cb-desktop-home-mode .cb-hd-menu-heading button{width:auto;min-height:32px;padding:6px 9px;background:#e4e6eb;font-size:13px;white-space:nowrap}
 body.cb-desktop-home-mode.cb-home-menu-hidden .cb-hd-left{visibility:hidden!important;pointer-events:none}
 body.cb-desktop-home-mode.cb-home-menu-hidden #cbHomeShowMenu{display:block;position:fixed;top:calc(var(--cb-home-top,64px) + 18px);left:32px;z-index:30;padding:9px 14px;border:1px solid #ccd0d5;border-radius:7px;background:white;cursor:pointer}
 body.cb-desktop-home-mode .cb-hd-compose-actions button{display:flex;gap:5px;font-size:13px}
 body.cb-desktop-home-mode .cb-hd-compose-actions button>span:last-child{display:inline;white-space:nowrap}
 body.cb-desktop-home-mode #homeLayout .modern-composer,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer{grid-template-columns:42px minmax(0,1fr)!important}
 body.cb-desktop-home-mode .cb-hd-compose-actions{grid-column:1/-1;justify-content:space-evenly;border-top:1px solid #eee;padding-top:7px}
}

@media(min-width:901px){body.cb-desktop-home-mode .cb-hd-compose-actions{display:none!important}body.cb-desktop-home-mode #homeLayout .modern-composer,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer{grid-template-columns:42px minmax(0,1fr)!important}body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack .cb-story-name,body.cb-desktop-home-mode #cbStoriesStrip .cb-create-stack #cbCreateReelCard b{font-size:16px!important;line-height:1.2!important;text-align:center!important}}

/* Align desktop Home menu content with the search field's left edge. */
@media(min-width:901px){body.cb-desktop-home-mode .cb-hd-left{padding-left:35px!important}body.cb-desktop-home-mode.cb-home-menu-hidden #cbHomeShowMenu{left:65px!important}}

/* One persistent desktop menu for User/Page screens; original route handlers stay intact. */
#cbPersistentSidebar{display:none}
@media(min-width:901px){
 body.cb-unified-menu-mode #cbPersistentSidebar{display:block!important;position:fixed!important;left:0!important;top:var(--cb-home-top,64px)!important;bottom:0!important;width:270px!important;max-height:none!important;overflow-y:auto!important;padding:12px 10px!important;box-sizing:border-box;background:#fff!important;border-right:1px solid #ddd;z-index:35;scrollbar-width:thin}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-menu{display:block}
 body.cb-unified-menu-mode #cbPersistentSidebar button{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:9px 8px;border:0;border-radius:7px;background:transparent;text-align:left;font:600 16px var(--cb-ui-font,sans-serif);color:#1c1e21;cursor:pointer}
 body.cb-unified-menu-mode #cbPersistentSidebar button:hover{background:#e4e6eb}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-menu-heading button{width:auto;min-height:30px;padding:6px;font-size:12px;background:#e4e6eb}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-menu-heading{padding:0 4px 8px}
 body.cb-unified-menu-mode .cb-pd-sidebar,body.cb-unified-menu-mode .cb-pd-menu-restore,body.cb-unified-menu-mode #homeLayout>.left-sidebar,body.cb-unified-menu-mode .cb-page-home-sidebar{display:none!important}
 body.cb-unified-menu-mode #featureView{margin-left:270px!important;width:calc(100% - 270px)!important;max-width:none!important;box-sizing:border-box;padding-left:20px!important;padding-right:20px!important}
 body.cb-unified-menu-mode .cb-page-full-layout{grid-template-columns:minmax(0,680px) 250px!important;justify-content:center!important}
 body.cb-unified-menu-mode #homeLayout:not(.hidden){margin-left:270px!important;width:calc(100% - 270px)!important;grid-template-columns:minmax(0,680px) 250px!important;justify-content:center!important}
 body.cb-unified-menu-mode.cb-home-menu-hidden #cbPersistentSidebar{display:none!important}
 body.cb-unified-menu-mode.cb-home-menu-hidden #cbHomeShowMenu{display:block!important;position:fixed;top:calc(var(--cb-home-top,64px) + 12px);left:14px!important;z-index:36;padding:9px 12px;border:1px solid #ddd;border-radius:7px;background:white;cursor:pointer}
 @media(max-width:1190px){body.cb-unified-menu-mode #homeLayout:not(.hidden),body.cb-unified-menu-mode .cb-page-full-layout{grid-template-columns:minmax(0,680px)!important}body.cb-unified-menu-mode .cb-page-home-right{display:none!important}}
}

/* Shared profile-style menu appearance. */
@media(min-width:901px){
 body.cb-unified-menu-mode #cbPersistentSidebar{width:360px!important;padding:16px 14px!important}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-menu-heading>b{font-size:21px;font-weight:700}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-menu-heading{padding:0 0 12px}
 body.cb-unified-menu-mode #cbPersistentSidebar button{font-size:20px;font-weight:400;min-height:50px;gap:12px;padding:11px 18px;white-space:nowrap}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-icon{width:22px;height:22px;flex-basis:22px;background:transparent;color:#303338;border-radius:0}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-icon svg{width:22px;height:22px}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-profile{padding:10px 12px;min-height:65px}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-profile b{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.cb-unified-menu-mode #cbPersistentSidebar hr{border:0;border-top:1px solid #ddd;margin:12px 0}
 body.cb-unified-menu-mode #cbPersistentSidebar summary{padding:14px 18px 7px;font-size:18px;font-weight:700;cursor:pointer}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-advertise{padding-top:20px}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-advertise button{justify-content:center;background:#1877f2;color:white}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-advertise .cb-hd-icon{color:white}
 body.cb-unified-menu-mode #homeLayout:not(.hidden){margin-left:360px!important;width:calc(100% - 360px)!important}
 body.cb-unified-menu-mode #featureView{margin-left:360px!important;width:calc(100% - 360px)!important}
}

/* Home sponsors align to the right edge, independent of the centered feed. */
@media(min-width:1200px){
 body.cb-unified-menu-mode.cb-desktop-home-mode .cb-hd-right{position:fixed!important;right:16px!important;top:calc(var(--cb-home-top,64px) + 16px)!important;width:240px!important;bottom:12px;max-height:none!important}
 body.cb-unified-menu-mode.cb-desktop-home-mode #homeLayout:not(.hidden),body.cb-unified-menu-mode.cb-desktop-home-mode .cb-page-full-layout{grid-template-columns:minmax(0,680px)!important;padding-right:276px!important;box-sizing:border-box;justify-content:center!important}
}
#cbPersistentSidebar .cb-hd-shortcuts h3{display:flex;align-items:center;justify-content:space-between;margin:0 6px;color:#65676b}
body.cb-unified-menu-mode #cbPersistentSidebar [data-st-edit]{display:inline-block!important;width:auto!important;min-height:28px!important;padding:4px!important;font-size:14px!important;color:#1877f2!important}
body.cb-unified-menu-mode #cbPersistentSidebar [data-shortcut]{font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere}
#cbPersistentSidebar [data-shortcut] img,#cbPersistentSidebar .cb-st-letter{width:34px;height:34px;flex:0 0 34px;border-radius:7px;object-fit:cover;display:grid;place-items:center;background:#e7f3ff}
#cbPersistentSidebar .cb-hd-shortcuts p{font-size:14px;padding:6px 12px}
#cbShortcutEditor{max-width:600px}#cbShortcutEditor form,.cb-st-edit-row{display:flex;gap:10px;align-items:center;margin:12px 0}#cbShortcutEditor input{flex:1;min-width:0;padding:10px}#cbShortcutEditor [data-st-results]{display:grid;gap:6px}.cb-st-edit-row span{flex:1}.cb-st-edit-row select{max-width:180px;padding:7px}.cb-st-collection{max-width:800px;margin:auto}.cb-st-collection form{display:flex;flex-wrap:wrap;gap:10px}.cb-st-collection input{padding:10px}.cb-st-collection article{padding:14px;margin-top:12px;background:white;border:1px solid #ddd;border-radius:8px}

/* v78 inline composer icons and consistent menu emphasis. */
#cbPersistentSponsors{display:none}
.cb-ca-composer.cb-ca-composer{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.cb-ca-composer>.cb-ca-original{display:none!important}
.cb-ca-composer>.cb-ca-main{min-width:0!important;width:100%!important;grid-column:2!important;grid-row:1!important}
.cb-ca-composer>.cb-ca-actions{display:flex!important;gap:4px;align-items:center;grid-column:3!important;grid-row:1!important}
.cb-ca-actions button{display:grid;place-items:center;width:34px;height:36px;padding:5px;border:0;background:transparent;border-radius:6px;cursor:pointer}
.cb-ca-actions button:hover{background:#f0f2f5}.cb-ca-actions img{display:block!important;width:25px;height:25px;object-fit:contain}
#mainApp :is(nav button,.sidebar-link,.cb-page-home-sidebar button,.cb-pd-sidebar button,.cb-mobile-identity-list button,.cb-manager-tabs button,.cb-public-tabs button),#cbPersistentSidebar :is(button,summary){font-weight:650!important}
@media(min-width:901px){
 body.cb-unified-menu-mode #cbPersistentSidebar button{font-weight:650!important}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-icon{border-radius:7px;background:#e3edff;color:#1877f2}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-video{background:#ffe0e9;color:#ef386f}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-saved{background:#f0ddff;color:#a32cdb}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-pages{background:#ffe9cf;color:#e67b12}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-calendar{background:#ffe0e9;color:#d73161}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-settings{background:#dce8fa;color:#4267b2}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-message{background:#d9efff;color:#0084ff}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-ads{background:#d5f5ed;color:#159b78}
 body.cb-unified-menu-mode #cbPersistentSidebar .cb-hd-bell{background:#ffedc2;color:#e39700}
 body.cb-desktop-home-mode #cbPersistentSidebar [data-hd="home"]{display:none!important}
 body.cb-desktop-home-mode #homeLayout .modern-composer.cb-ca-composer,body.cb-desktop-home-mode .cb-page-home-feed-surface>.cb-page-composer.cb-ca-composer{grid-template-columns:40px minmax(0,1fr) auto!important}
}
@media(min-width:1200px){
 body.cb-unified-menu-mode.cb-desktop-home-mode:not(.cb-personal-profile-mode) #cbPersistentSponsors:not([hidden]){display:block!important;position:fixed!important;right:16px!important;left:auto!important;top:calc(var(--cb-home-top,64px) + 16px)!important;bottom:12px!important;width:240px!important;max-height:none!important;overflow-y:auto!important;box-sizing:border-box!important;z-index:20;background:transparent!important;padding:0 6px!important;scrollbar-width:thin}
 body.cb-unified-menu-mode.cb-desktop-home-mode #featureView{padding-right:276px!important}
 body.cb-unified-menu-mode .cb-page-full-layout{grid-template-columns:minmax(0,680px)!important;padding-right:0!important}
 body.cb-unified-menu-mode.cb-desktop-home-mode .cb-page-full-layout{padding-right:0!important}
 #cbPersistentSponsors :is(.ad-box,.cb-page-ad-box){width:100%!important;min-height:140px;border-radius:9px;margin-bottom:12px;background:#e4e6eb}
}
@media(max-width:500px){.cb-ca-composer.cb-ca-composer{grid-template-columns:34px minmax(0,1fr) auto!important;gap:5px!important}.cb-ca-actions{gap:1px!important}.cb-ca-actions button{width:28px;padding:3px}.cb-ca-actions img{width:23px;height:23px}}

/* Color existing outline icons in navigation and menu submenus. */
#mainApp :is(.cb-manager-tabs,.cb-public-tabs,.cb-pd-more,.cb-pd-sidebar,.v4-video-sidebar) button svg{color:#1877f2}#mainApp :is(.cb-manager-tabs,.cb-public-tabs,.cb-pd-more,.cb-pd-sidebar,.v4-video-sidebar) button:nth-of-type(3n+2) svg{color:#a23ed1}#mainApp :is(.cb-manager-tabs,.cb-public-tabs,.cb-pd-more,.cb-pd-sidebar,.v4-video-sidebar) button:nth-of-type(3n) svg{color:#e77a1c}

.cb-hd-story-prev{display:none}
@media(min-width:901px){
 body.cb-desktop-home-mode .cb-hd-story-prev{display:grid;place-items:center;position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:6;border:0;border-radius:50%;background:white;color:#65676b;width:42px;height:42px;box-shadow:0 2px 8px #0003;font-size:32px;cursor:pointer}
 #cbAppLauncher{display:grid!important;place-items:center;order:-1;width:38px;height:38px;border:0;border-radius:50%;background:#e4e6eb;cursor:pointer}
 #cbAppLauncher>span{display:grid;grid-template-columns:repeat(3,4px);gap:3px}#cbAppLauncher i{width:4px;height:4px;border-radius:50%;background:#303338}
 #cbAppLauncherPanel{position:fixed;right:16px;top:var(--cb-home-top,64px);z-index:10060;width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - var(--cb-home-top,64px) - 16px);overflow:auto;border:1px solid #e4e6eb;border-radius:12px;background:#f7f8fa;box-shadow:0 5px 22px #0003;padding:16px;box-sizing:border-box;font-family:var(--cb-ui-font,sans-serif)}
 #cbAppLauncherPanel header{display:flex;align-items:center;justify-content:space-between}#cbAppLauncherPanel h2{margin:0 0 12px}#cbAppLauncherPanel [data-launch-close]{border:0;border-radius:50%;font-size:24px;width:32px;height:32px;cursor:pointer}
 .cb-launch-grid{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:14px}.cb-launch-grid>main,.cb-launch-grid>aside{padding:12px;border-radius:10px;background:white;min-width:0}.cb-launch-grid>aside{align-self:start;position:sticky;top:0}
 .cb-launch-grid h3{font-size:16px;margin:10px 0}.cb-launch-grid main>section{border-bottom:1px solid #ddd;padding:8px 0}.cb-launch-grid input{width:100%;box-sizing:border-box;padding:10px;border:0;border-radius:24px;background:#f0f2f5}
 .cb-launch-grid :is(button,a){display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:4px 8px;width:100%;text-align:left;padding:10px 5px;border:0;background:transparent;color:#1c1e21;text-decoration:none;cursor:pointer;box-sizing:border-box;border-radius:7px;font:inherit}
 .cb-launch-grid :is(button,a):hover{background:#f0f2f5}.cb-launch-grid :is(button,a)>span{font-size:24px;grid-row:1/3}.cb-launch-grid small{grid-column:2;color:#65676b;font-size:12px}.cb-launch-grid button:disabled{cursor:default;opacity:.55}.cb-launch-grid [hidden]{display:none!important}
 #accountMenu .cb-identity-menu{padding:12px!important;border-radius:12px!important}#accountMenu .cb-identity-row{border-radius:8px!important;font-weight:600!important}
 #accountMenu .cb-identity-pages>.cb-identity-row:nth-child(n+3),#accountMenu .cb-identity-groups{display:none!important}
 #accountMenu .cb-account-expanded .cb-identity-pages>.cb-identity-row,#accountMenu .cb-account-expanded .cb-identity-groups{display:flex!important}
 #accountMenu .cb-account-expanded .cb-identity-groups{flex-direction:column}
 #accountMenu .cb-see-profiles{display:block;width:100%;padding:9px;border:0;border-radius:7px;background:#e4e6eb;font-weight:650;cursor:pointer;margin:8px 0 16px}
 #accountMenu .cb-profile-utilities :is(button,summary){display:block;box-sizing:border-box;width:100%;text-align:left;padding:12px 9px;cursor:pointer;border:0;border-radius:8px;background:transparent;font:600 15px var(--cb-ui-font,sans-serif)}
 #accountMenu .cb-profile-utilities :is(button,summary):hover{background:#f0f2f5}#accountMenu .cb-profile-utilities label{display:flex;align-items:center;gap:8px;padding:10px 12px}
 #accountMenu .cb-identity-menu>[data-cb-create-page],#accountMenu .cb-identity-menu>[data-cb-create-group]{display:none!important}#accountMenu .cb-account-expanded>[data-cb-create-page],#accountMenu .cb-account-expanded>[data-cb-create-group]{display:flex!important}
}
@media(min-width:1200px){body.cb-unified-menu-mode #featureView .cb-network-feed-ads{display:none!important}body.cb-unified-menu-mode #featureView .cb-network-feed-layout{grid-template-columns:minmax(140px,200px) minmax(0,1fr)!important}}
.cb-large-menu-text :is(#cbPersistentSidebar button,#accountMenu button,#accountMenu summary,#cbAppLauncherPanel button){font-size:20px!important}
.cb-reduce-motion *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}

/* Previous stories is available only after leaving the start of the strip. */
body.cb-desktop-home-mode .cb-hd-story-prev[hidden]{display:none!important}

/* v85: only the final three composer actions are visible. */
body #mainApp .cb-ca-composer>.cb-ca-original,body #mainApp .cb-ca-composer>.composer-inline-actions,body #mainApp .cb-ca-composer>.cb-profile-composer-shortcuts,body #mainApp .cb-ca-composer>.cb-pd-composer-actions{display:none!important}

/* Sponsored rail exists only on personal Home or Page Home. */
body:not(.cb-desktop-home-mode) #cbPersistentSponsors{display:none!important;visibility:hidden!important;pointer-events:none!important}
@media(min-width:901px){
 body.cb-unified-menu-mode:not(.cb-desktop-home-mode) #featureView{padding-right:20px!important}
 #featureView .cb-network-feed-ads{display:none!important}
 body:not(.cb-desktop-home-mode) #featureView :is(.cb-page-home-right,.right-sidebar,.cb-group-home-right){display:none!important}
}
