.mobile-back,
.mobile-nav {
    display: none;
}

@media screen and (max-width: 992px) {
    #app {
        --mobile-nav-height: 60px;
        padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    }

    .top_nav .mobile-back {
        position: absolute;
        z-index: 1;
        top: 0;
        left: -7px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 54px;
        padding-right: 4px;
        border-radius: 0 999px 999px 0;
        background-color: #e90e43;
        color: #fff;
    }

    .top_nav .mobile-back:active {
        background-color: #c40c38;
    }

    .top_nav .mobile-back:focus-visible,
    .mobile-nav__item:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -3px;
    }

    .mobile-nav {
        position: fixed;
        z-index: 996;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        height: auto;
        padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
        border-top: 1px solid #e3e9de;
        background: #fcfcfc;
        box-shadow: 0 -2px 12px rgba(25, 50, 10, .08);
        line-height: normal;
    }

    .mobile-nav > .mobile-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: var(--mobile-nav-height);
        gap: 4px;
        padding: 4px 12px;
        color: #4b4b4b;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.15;
    }

    .mobile-nav .sidenav-trigger {
        position: static;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-family: inherit;
        cursor: pointer;
    }

    .mobile-nav > .mobile-nav__item[aria-current="page"],
    .mobile-nav > .mobile-nav__item:active {
        background: #edf5e7;
        color: #2c7600;
    }

    .mobile-nav__avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        object-fit: cover;
    }

    .mobile-nav__label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
