/* Preserve the original pill geometry as the number of categories grows. */
html body article.browse-profile-shell .four-categories-scroll{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;min-width:0;gap:1.1cqw!important}
html body article.browse-profile-shell .four-categories-scroll>button,html body article.browse-profile-shell .four-more-fixed{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;height:6.2cqw!important;min-height:0!important;padding:1.1cqw 1.5cqw!important;border-radius:4cqw!important;line-height:1.5!important;white-space:nowrap!important}
html body article.browse-profile-shell .four-categories-scroll>button>span{white-space:nowrap!important;flex-shrink:0!important}
/* Native Vue layout: no post-render wrapping or waiting for a refresh. */
html body article.browse-profile-shell .four-native-categories{display:flex;align-items:center;gap:6px!important;margin:8px 0 0!important;min-width:0;max-width:100%;direction:rtl}
html[lang^=en] body article.browse-profile-shell .four-native-categories{direction:ltr}
html body article.browse-profile-shell .four-native-categories .four-categories-scroll{flex:1 1 0!important;width:0!important;min-width:0!important;gap:1.1cqw!important;margin:0!important;scrollbar-width:none}
@media(min-width:1024px){html body article.browse-profile-shell .four-native-categories.four-categories-mobile{display:none!important}}
@media(max-width:1023px){html body article.browse-profile-shell .four-native-categories.four-categories-desktop{display:none!important}}
@media(min-width:1024px){html body article.browse-profile-shell .four-native-categories.four-categories-desktop{display:flex!important}}
html body article.browse-profile-shell .four-native-categories>.four-more-fixed{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 17.5cqw!important;min-width:0!important;font-size:2.53cqw!important;font-weight:400!important;background:var(--color-surface)!important;color:var(--color-text)!important;border:1px solid #f47731!important;gap:1cqw!important}
html body article.browse-profile-shell .four-native-categories>.four-more-fixed svg{width:3cqw!important;height:3cqw!important;color:#ef742b!important;flex:0 0 3cqw}

/* Reference proportions: one shared height; fixed More width; balanced All. */
html body article.browse-profile-shell .four-native-categories .four-categories-scroll>button,
html body article.browse-profile-shell .four-native-categories>.four-more-fixed{box-sizing:border-box!important;height:25px!important;min-height:25px!important;max-height:25px!important;padding:0 8px!important;border-radius:999px!important;line-height:23px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important}
html body article.browse-profile-shell .four-native-categories>.four-more-fixed{flex:0 0 70px!important;width:70px!important;min-width:70px!important;max-width:70px!important;font-size:11px!important;font-weight:400!important;gap:5px!important;background:var(--color-surface)!important}
html body article.browse-profile-shell .four-native-categories>.four-more-fixed svg{width:12px!important;height:12px!important;flex:0 0 12px!important}
html body article.browse-profile-shell .four-native-categories .four-categories-scroll>button:first-child{flex:0 0 62px!important;width:62px!important;min-width:62px!important;padding:0 14px!important;text-align:center!important}
html body article.browse-profile-shell .four-native-categories .four-categories-scroll>button:first-child>span{margin:0!important;text-align:center!important}

/* Compact standalone start beneath the header divider, in either locale. */
html.four-standalone-menu body>.four-menu-topbar{margin-bottom:0!important}
html.four-standalone-menu main.four-menu-page,
html.four-standalone-menu article.browse-profile-shell{padding-top:0!important;margin-top:0!important}
html.four-standalone-menu article.browse-profile-shell>.mx-auto,
html.four-standalone-menu article.browse-profile-shell>.mx-auto>div.px-4{padding-top:0!important;margin-top:0!important}
html.four-standalone-menu article.browse-profile-shell .four-categories-fixed{margin-top:4px!important;padding-top:0!important;margin-bottom:4px!important}
html.four-standalone-menu article.browse-profile-shell .four-categories-fixed .four-categories-scroll{margin-top:0!important}

html body article.browse-profile-shell .four-native-categories .four-categories-scroll>button{font-size:12px!important}
html[lang^=en] body article.browse-profile-shell .four-categories-fixed{direction:ltr!important;flex-direction:row!important}
html[lang^=ar] body article.browse-profile-shell .four-categories-fixed{direction:rtl!important;flex-direction:row!important}
html body article.browse-profile-shell .four-categories-fixed>.four-categories-scroll{order:1!important}
html body article.browse-profile-shell .four-categories-fixed>.four-more-fixed{order:2!important}
