#unity-container { position: absolute; width: 100%; height: 100%;left: 0;top: 0;}
#unity-container.unity-desktop {}
#unity-container.unity-mobile {}
.iframe_fs_back{top:90px;}
#unity-canvas {background:#000000;width:100% !important;height: auto !important;cursor: default;aspect-ratio: 16 / 9;position:absolute;top: 50%;transform: translateY(-50%);max-height:100%;}
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }




#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:110px;color:white;font-size:12px;}
#ctrl-tab:before{background-image:none}
#ctrl-tab{right:20px;bottom:110px;color:white;width:65px;height:60px;font-size:12px;padding:10px 0 0;line-height:normal;}
#ctrl-tab span{font-size:25px;}
#ctrl-left{left:20px;bottom:30px;height:70px;}
#ctrl-right{right:20px;bottom:30px;height:70px;}
#ctrl-down{right:96px;bottom:110px;width:44px;height:30px;}
#ctrl-up{right:96px;bottom:150px;width:44px;height:30px;}
#ctrl-escape{right: 20px;top: 20px;width: 30px;height: 30px;border-radius: 50%;line-height: 30px;font-size: 14px;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}
}