/* Shared navigation stays compact without clipping or a horizontal scroll strip. */
.social-header{height:auto;min-height:68px;padding:10px 20px;gap:16px;align-items:center}
.social-header .brand{font-size:20px;gap:7px;flex-shrink:0}
.social-header .brand-mark{width:33px;height:33px;font-size:25px;border-radius:10px}
.social-header .feed-search{flex:0 1 190px;min-width:130px;max-width:220px}
.social-header .social-top-nav{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:center;align-items:center;min-width:0;max-width:100%;gap:4px!important;overflow:visible;padding:0;margin:0;scrollbar-width:auto}
.social-header .social-top-nav>a{min-width:0;min-height:36px;justify-content:center;gap:5px!important;padding:7px 8px!important;font-size:18px!important;line-height:1.5;white-space:nowrap;border-radius:8px}
.social-header .social-top-nav>a>span{display:inline!important;font-size:11px!important;line-height:1.5}
.social-header .social-top-nav>a>span:first-child:not(:last-child){font-size:18px!important}
.social-header .social-top-nav>a:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
.social-top-nav .quotes-nav[aria-current="page"]{color:#1877f2;background:#edf4ff}
.side-navigation .side-quotes.active{background:#eaf2ff;color:#1877f2}
.social-header #headerAccount{gap:6px}
.social-header .header-user,.social-header .header-login{font-size:12px;padding:8px 12px;max-width:125px}
.social-header .header-logout{font-size:10px;padding:8px 10px;min-height:35px}
.social-shell>.social-left,.social-shell>.social-right{top:88px}
.social-left .sidebar-profile{gap:9px;padding:8px;margin-bottom:9px}
.social-left .sidebar-avatar{width:35px;height:35px;font-size:21px}
.social-left .sidebar-profile strong{font-size:12px;line-height:1.7}
.social-left .sidebar-profile small{font-size:9px;margin-top:1px}
.social-left .side-navigation{gap:2px}
.social-left .side-navigation a{gap:9px;padding:7px 8px;min-height:36px;font-size:12px;line-height:1.7;border-radius:7px}
.social-left .side-navigation a>span:first-child{width:21px;flex-shrink:0;font-size:19px}
.social-left .side-navigation .sidebar-facebook{gap:8px;font-size:11px}
.social-left .side-navigation .sidebar-facebook .facebook-mark{width:20px;height:20px;font-size:19px;padding-top:3px}
.social-left .side-navigation .sidebar-facebook .facebook-external{font-size:10px;width:auto}
.social-left .sidebar-note{margin-top:14px;padding:14px 8px 8px}
.social-left .sidebar-note strong{font-size:13px}
.social-left .sidebar-note p{font-size:11px;line-height:1.8;margin:3px 0}
.social-left .sidebar-domain{font-size:10px;padding-left:8px}
.card-page .card-shell>.social-left{top:88px;max-height:calc(100dvh - 108px)}
@media(max-width:1320px){
 .social-header{flex-wrap:wrap;gap:8px 16px;min-height:64px}
 .social-header .brand{order:1;font-size:19px}
 .social-header #headerAccount{order:2;margin-left:auto}
 .social-header .social-top-nav{order:3;flex:1 0 100%;width:100%;gap:4px!important}
 .social-shell>.social-left,.social-shell>.social-right{top:132px}
 .social-shell.ads-enabled-shell>.social-right{max-height:calc(100dvh - 152px)}
 .card-page .card-shell>.social-left{top:132px;max-height:calc(100dvh - 152px)}
}
@media(max-width:700px){
 .social-header{padding:9px 12px;gap:8px 10px}
 .social-header .brand{font-size:17px;gap:6px}
 .social-header .brand-mark{width:29px;height:29px;font-size:23px;border-radius:8px}
 .social-header .header-user{max-width:90px;font-size:11px;padding:7px 9px}
 .social-header .header-login{font-size:11px;padding:8px 12px}
 .social-header .header-logout{font-size:10px;padding:7px 9px;min-height:34px}
 .social-header .social-top-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 4px!important;align-items:stretch}
 .social-header .social-top-nav>a{flex-direction:column;min-height:48px;gap:2px!important;padding:5px 3px!important;white-space:normal;text-align:center;line-height:1.3}
 .social-header .social-top-nav>a>span{font-size:10px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 .social-header .social-top-nav>a>span:first-child:not(:last-child){font-size:18px!important;line-height:1.2}
 :is(#builder,#how,#community,#communityAccount,#publications,#booksContent,#bookChapter,#poemsContent,#lettersContent,#talesContent,#shopContent,#adApplication,#myAds,#quotesContent,#quoteAuthors,#quoteResults){scroll-margin-top:190px}
 body:has(#adminNav:not([hidden])) :is(#builder,#how,#community,#communityAccount,#publications,#booksContent,#bookChapter,#poemsContent,#lettersContent,#talesContent,#shopContent,#adApplication,#myAds,#quotesContent,#quoteAuthors,#quoteResults){scroll-margin-top:242px}
}
@media(max-width:380px){
 .social-header .header-user{max-width:68px;padding:7px;font-size:10px}
 .social-header .header-logout{padding:7px 8px}
}
