/* Keep the existing body children and country footer hooks intact. */
@media screen {
    :where(body:has(> .page-bottom)) {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }

    :where(body:has(> .page-bottom) > *) {
        flex-shrink: 0;
    }

    /* Auto side margins otherwise shrink mobile containers as flex items. */
    :where(body:has(> .page-bottom) > .container) {
        width: 100%;
    }

    .page-bottom {
        margin-top: auto;
    }
}

.directory-plain-list .noResults:where(.repository-empty-state),
.directory-thumb-list .noResults:where(.repository-empty-state) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 24px;
    padding: 64px 24px;
    text-align: center;
}

.directory-thumb-list .noResults:where(.repository-empty-state) {
    background: var(--gray-0);
    border-radius: var(--radius-medium, 12px);
    box-shadow: 0 12px 18px rgba(var(--gray-1000-rgb, 0, 0, 0), 0.05);
}

.repository-empty-state-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--gray-300);
}
