:root {
    color-scheme: dark;
    background: #071018;
}

html,
body,
#app {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #071018;
}

body {
    overscroll-behavior: none;
}

#canvasHolder {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: #071018;
}

#theCanvas {
    display: block;
    width: min(100vw, calc(100vh * 1.3414634146));
    height: min(100vh, calc(100vw / 1.3414634146));
    max-width: 100vw;
    max-height: 100vh;
    touch-action: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

#blazor-error-ui {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10;
    display: none;
    padding: 0.8rem 1rem;
    color: #071018;
    background: #f4d97a;
    font: 600 14px system-ui, sans-serif;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}
