:root {
    --bg-color: black;
    --mobius-blue: #2EA9C7;
    --mobius-beige: #D6CDC0;
    --mobius-red:lightcoral; /*#f94144;*/
}
.splash {
    --bg-color: var(--mobius-blue);
}
body {
    margin:0;
    padding:0;
    background-color: var(--bg-color);
    zbackground-color: greenyellow;
    min-width: 243px;
    transition: all 1s ease-out;
    zposition: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 1;
    user-select: none;
}
header {
    height: 100px;
    visibility: hidden;
}

main {
    width: 100%;
    min-width: 243px;
    display: block;
    flex:1;
    /*overflow-y: scroll;*/
    /* max-height: 600px; */
}
    main.bgimage { 
        background-image: url(../img/bgm.svg);
        background-size: cover;
    }
    tool-tiles {
        visibility: hidden;
        z-index:2;
        /*overflow-y: scroll;*/
    }
#logoM {
    position: fixed;
    width: 243px;
    height: 52px;
    left: calc(50% - 243px/2 - 0.5px);
    bottom: calc(50% - 52px/2);
    z-index: 2;
    display: none;
}
body.splash > img#logoM {
    display:block;
}
footer {
    height:50px;
    zbackground-color: black;
    position: fixed;
    bottom:0;
    width:100%;
    visibility: hidden;
    zoutline:1px solid yellow;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom:5px;
}
    footer > img {
        height: 20px;
    }
    footer > span {
        color: white;
        font-family: 'Inter';
        font-size:  8px;
        opacity:0.8;
    }
.display {
    visibility: visible;
}

scanner-screen {
    visibility: hidden;
}
camera-screen {
    /* visibility: hidden; */
}

body:fullscreen {
    overflow: scroll !important;
}

body {
    overflow-y: hidden;
    
}

config-screen:not(.show) {
    display: none;
}

tool-tiles {
    max-height: calc( 100vh - 128px );
}