Trapped boundary modes without a well-defined bulk gap