html {
    margin: 0;
    padding: 0;
    border: 0;
    height: 100svh;
    background-color: black;
    overflow: hidden;
}

.standaloneIOSHtml {
    height: 100vh !important;
}

.full-screen-fade {
    position: absolute;
    background: rgba(0, 0, 0, 0.87);
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    height: 100%;
    font: var(--sans);
    font-weight: 400;
    font-style: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color: var(--c4);
    background-color: black;
        overflow: hidden;
    }
    
canvas {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: black;
    overflow: hidden;
}

:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left);
}

div#splash-view {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    touch-action: none;
}

img#splash-image {
    position: absolute;
    width: 100vw;
}

progress#splash-progress-bar {
    margin: 0 auto;
    display: block;
    position: relative;
    top: 50vh;
    width: 50vw;
}

#unsupported-container {
    font-family: 'Arial';
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: 150;
    display: none;
}

#unsupported-container>img {
    position: absolute;
    width: 100vw;
}

#unsupported-container>h2 {
    margin: 0 auto;
    display: block;
    position: relative;
    top: 50vh;
    width: 50vw;
    text-align: center;
}

#overlay-content, #loader-overlay {
    position: absolute;
    margin: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#base-modal {
    touch-action: none;
}
#loader-overlay {
    z-index: 1;
    background: rgba(0, 0, 0, 0.87);
}