html[data-guth-shell="app"]{scrollbar-gutter:stable}
.guth-social-topbar>guth-workspace-identity[segment="switcher"]{box-sizing:border-box;width:152px;min-width:152px;flex:0 0 152px;min-height:40px}
.guth-social-topbar>span{display:none}
.guth-social-topbar .guth-social-search{height:40px;box-sizing:border-box}
@media(min-width:768px){.guth-shell{grid-template-rows:64px minmax(0,1fr)!important}.guth-rail>*{flex-shrink:0}.guth-rail{overflow-y:auto}.guth-social-topbar{height:64px}}
@media(max-width:1100px){.guth-social-topbar{height:auto;min-height:64px;flex-wrap:wrap;padding-block:8px}.guth-social-topbar .guth-social-search{order:8;flex:1 0 100%;max-width:none;width:100%}}
@media(max-width:760px){.guth-social-topbar>guth-workspace-identity[segment="switcher"]{flex:1 0 100%;width:100%}}

/* The shared shell already reserves the fixed topbar above this grid. */
@media(min-width:768px){.guth-shell.guth-unified-frame{grid-template-rows:minmax(0,1fr)!important}.guth-shell.guth-unified-frame>.guth-rail,.guth-shell.guth-unified-frame>#social-main{grid-row:1/2!important}}
.profile-account-header>.profile-header-statistics{flex:0 1 auto!important;width:auto!important;max-width:100%;min-width:0;margin-inline-start:auto}
@media(max-width:640px){.profile-account-header>.profile-header-statistics{flex-basis:100%!important;margin-inline-start:0}.profile-account-header>.profile-header-statistics>.profile-preview-metrics{justify-content:flex-start}}

/* Reserve the account picker while the initial session/list checks complete. */
#guth-youtube-account-strip-host { min-height:67px; }
