#canvas {
margin: 0;
padding: 0;
border: 0;
vertical-align:top;
display: block;
}

.mothergameholder {
color: white;
background-color: black;
overflow: hidden;
touch-action: none;
}

#canvas:focus {
outline: none;
}

#status, #status-splash, #status-progress {
position: absolute;
left: 0;
right: 0;
}

#status, #status-splash {
top: 0;
bottom: 0;
}

#status {
background-color: #242424;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
visibility: hidden;
}

#status-splash {
max-height: 100%;
max-width: 100%;
margin: auto;
}

#status-splash.show-image--false {
display: none;
}

#status-splash.fullsize--true {
height: 100%;
width: 100%;
object-fit: contain;
}

#status-splash.use-filter--false {
image-rendering: pixelated;
}

#status-progress, #status-notice {
display: none;
}

#status-progress {
bottom: 10%;
width: 50%;
margin: 0 auto;
}

#status-notice {
background-color: #5b3943;
border-radius: 0.5rem;
border: 1px solid #9b3943;
color: #e0e0e0;
font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
line-height: 1.3;
margin: 0 2rem;
overflow: hidden;
padding: 1rem;
text-align: center;
z-index: 1;
}





#ctrl-1,#ctrl-2,#ctrl-3{height:16%;bottom:5%;position:absolute;width:33.33%;opacity:0;z-index:4;display:block;border:0}
#ctrl-1{background:red;left:0%;}
#ctrl-2{background:green;left:33.33%;}
#ctrl-3{background:blue;left:66.66%;}

.customButtons{position:absolute;left:0;top:0px;width:100%;height:100%;z-index:3;user-select:none;display:none}
.cmnButton{position:absolute;width:100px;height:55px;line-height:55px;text-align:center;background:rgba(46,69,121,0.6);border:solid 2px rgba(255,255,255,0.3);box-sizing:unset}
.cmnButton:before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(/games/block-party-directembedcode/textures/arr.png);background-repeat:no-repeat;background-position:center center}
#ctrl-escape:before{background-image:none}
#ctrl-enter:before{background-image:none}
#ctrl-space:before{background-image:none}
#ctrl-space{right:20px;bottom:30px;color:white;width:120px;height:70px;line-height:70px;}
#ctrl-left{left:20px;bottom:30px;height:70px;}
#ctrl-right{left:130px;bottom:30px;height:70px;}
#ctrl-down{left:20px;bottom:15px;width:165px;height:80px;}
#ctrl-up{right:20px;bottom:30px;width:70px;height:70px;}
#ctrl-escape{right: 20px;bottom:80px;width: 140px;color: white;}
#ctrl-enter{
left: 50%;
bottom: 11.9%;
width: 20%;
color: white;
height: 13%;
transform: translateX(-50%);
opacity:0;
}
.activeBG{background:#9600e7}
#ctrl-left:before{transform:rotate(180deg)}
#ctrl-down:before{transform:rotate(90deg)}
#ctrl-up:before{transform: rotate(-90deg);}
#ctrl-escape:before{transform:rotate(-90deg)}

@media(max-width:460px){
/*.cmnButton{width:50px;height:50px}*/
/*#ctrl-down{left:100px;top:0}
#ctrl-up{right:100px;top:0}*/
}

@media (hover:none) and (pointer:coarse){
.customButtons{display:block}
.clickcommon{display:block}
}