@import url("site.mobile.css");

html,
body {
    height: 100%;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#app {
    height: 100%;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.algo-mobile-shell {
    min-height: 100dvh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.algo-mobile-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
}

.algo-mobile-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px;
    overflow-x: hidden;
    touch-action: pan-y;
}

.algo-mobile-page .mud-grid {
    margin-left: 0 !important;
    width: 100%;
}

.mobile-swipe-track {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 10px;
    overflow: hidden;
}

.mobile-swipe-track.mobile-swipe-compact {
    grid-template-columns: 1fr;
}

.mobile-swipe-card {
    min-width: 0;
}

.mobile-virtual-list {
    height: auto;
    overflow: visible;
}

.mobile-virtual-list .mud-virtualize-item {
    min-height: 84px;
}

.strategy-list-card {
    background: rgba(19, 26, 36, 0.74);
    border-color: rgba(75, 96, 120, 0.45) !important;
}

.algo-mobile-main .mud-card,
.algo-mobile-main .mud-paper {
    touch-action: pan-y;
}

@media (min-width: 768px) {
    .algo-mobile-main,
    .algo-mobile-bottom-nav {
        width: 100%;
        max-width: 100%;
        border-left: 0;
        border-right: 0;
        transform: none;
        left: 0;
    }
}
