/* UI mobile — activée sur m.foxbox.* ou html.foxbox-mobile */

html.foxbox-mobile,
html.foxbox-mobile body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    position: fixed;
    touch-action: manipulation;
}

html.foxbox-mobile body {
    -webkit-overflow-scrolling: touch;
}

html.foxbox-mobile .app-shell {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

html.foxbox-mobile .app-inner {
    max-width: 100%;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

html.foxbox-mobile .app-header {
    flex-shrink: 0;
}

html.foxbox-mobile .app-header .app-inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

html.foxbox-mobile #main-nav {
    display: none !important;
}

html.foxbox-mobile .app-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    padding-top: 0.75rem;
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

html.foxbox-mobile #view-temple {
    max-width: 100%;
}

html.foxbox-mobile #view-temple .mb-10 {
    margin-bottom: 1.25rem;
}

html.foxbox-mobile #mobile-nav {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    margin: 0;
}

html.foxbox-mobile #mobile-nav.hidden {
    display: none !important;
}

html.foxbox-mobile footer {
    display: none !important;
}

html.foxbox-mobile #auth-header-username {
    display: none !important;
}

html.foxbox-mobile #profile-xp-circle {
    width: 3rem;
    height: 3rem;
}

html.foxbox-mobile .pin-card-art-wrap {
    min-height: 6.5rem;
}

html.foxbox-mobile .pin-card-art {
    max-height: 5.5rem;
}
