html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #17131f;
    touch-action: none;
    overscroll-behavior: none;
}

*,
*:before,
*:after {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

input,
button,
textarea,
select {
    -webkit-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection {
    background: transparent;
    color: inherit;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    touch-action: none;
}

canvas {
    -ms-touch-action: none;
    touch-action: none;
}

.ani_hack {
    -webkit-perspective: 1000px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.game-page-shield,
.block-game {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.game-page-shield {
    background: transparent;
    pointer-events: none;
}

.block-game {
    z-index: 9000;
    display: none;
    background: rgba(13, 10, 18, 0.12);
}

.orientation-msg-container {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 12, 23, 0.96);
}

.orientation-msg-text {
    display: flex;
    width: min(520px, 86vw);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #fff;
    text-align: center;
}

.orientation-msg-text img {
    width: min(230px, 48vw);
    height: auto;
}

.hidediv {
    display: none !important;
}
