input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 0.7px 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    background: #ccc;
    border-radius: 0px;
    border: 0px solid #010101;
}

input[type=range]::-webkit-slider-thumb {
    /*box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;*/
    border: 3px solid #5ab6ff;
    height: 40px;
    width: 40px;
    border-radius: 40%;
    background: rgba(170, 187, 203, 0.93);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -15px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #545a5a;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 25.6px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #484d4d;
    border-radius: 0px;
    border: 0px solid #010101;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;
    border: 0px solid #ff1e00;
    height: 27px;
    width: 18px;
    border-radius: 0px;
    background: rgba(255, 67, 95, 0.93);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 25.6px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #3c4040;
    border: 0px solid #010101;
    border-radius: 0px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: #484d4d;
    border: 0px solid #010101;
    border-radius: 0px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;
    border: 0px solid #ff1e00;
    height: 27px;
    width: 18px;
    border-radius: 0px;
    background: rgba(255, 67, 95, 0.93);
    cursor: pointer;
    height: 25.6px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #f84d4d;
}

input[type=range]:focus::-ms-fill-upper {
    background: #f45a5a;
}

/** {*/
/*box-sizing: border-box;*/
/*}*/

.game-control-mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*display: block;*/
    display: none;
}

.game-control-mask.show {
    display: block;
}

.game-control {
    /*width: 600px;*/
    width: 95%;
    /*margin:0 auto;*/
    /*border: 1px solid #f00;*/
    /*position: relative;*/
    position: absolute;
    align-items: center;
    z-index: 10000;
    bottom: 0;
    display: flex;
    /*display: none;*/
    left:50%;
    transform: translate(-50%, 0);
}

/*.game-control.show {*/
    /*display: flex;*/
/*}*/

.game-control * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.game-control img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    touch-action: none;
}

.game-control .game-control-bk {
    width: 100%;
}

.game-control .game-control-ctrl {
    position: absolute;
    left: 5%;
    top: 14%;
    width: 26%;
    height: 64%;
    /*border: 1px solid #f00;*/
}

.game-control .game-control-ctrl > * {
    position: absolute;
    background: #abc;
}

.game-control .game-control-ctrl > .center {
    width: 30%;
    height: 30%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.game-control .game-control-ctrl > .center > * {
    position: absolute;
    background: #abc;
    width: 100%;
    height: 100%;
    /*transition: all 0.3s ease-out;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-control .game-control-ctrl > .center > * > * {
    /*width: 30%;*/
    /*height: 30%;*/
    width: 0;
    height: 0;
    /*background: #fff;*/
    border: 12px solid transparent;
}

.game-control .game-control-ctrl > .center > .left > * {
    border-left: none;
    border-right: 20px solid #fff;
}

.game-control .game-control-ctrl > .center > .right > * {
    border-right: none;
    border-left: 20px solid #fff;
}

.game-control .game-control-ctrl > .center > .top > * {
    border-top: none;
    border-bottom: 20px solid #fff;
}

.game-control .game-control-ctrl > .center > .bottom > * {
    border-bottom: none;
    border-top: 20px solid #fff;
}

.game-control .game-control-ctrl > .center > *:active {
    background: #cab;
    z-index: 1;
    /*transform: scale(1.2);*/
}

.game-control .game-control-ctrl > .center > .left {
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.game-control .game-control-ctrl > .center > .left:active {
    border-left: 2px solid #37c4f0;
    border-top: 2px solid #37c4f0;
    border-bottom: 2px solid #37c4f0;
}

.game-control .game-control-ctrl > .center > .right {
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.game-control .game-control-ctrl > .center > .right:active {
    border-right: 3px solid #37c4f0;
    border-top: 3px solid #37c4f0;
    border-bottom: 3px solid #37c4f0;
}

.game-control .game-control-ctrl > .center > .top {
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
}

.game-control .game-control-ctrl > .center > .top:active {
    border-left: 3px solid #37c4f0;
    border-top: 3px solid #37c4f0;
    border-right: 3px solid #37c4f0;
}

.game-control .game-control-ctrl > .center > .bottom {
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
}

.game-control .game-control-ctrl > .center > .bottom:active {
    border-left: 3px solid #37c4f0;
    border-bottom: 3px solid #37c4f0;
    border-right: 3px solid #37c4f0;
}

.game-control .game-control-ctrl > .center > .left {
    left: -98%;
    border-top-left-radius: 20%;
    border-bottom-left-radius: 20%;
}

.game-control .game-control-ctrl > .center > .right {
    right: -98%;
    border-top-right-radius: 20%;
    border-bottom-right-radius: 20%;
}

.game-control .game-control-ctrl > .center > .top {
    top: -98%;
    border-top-left-radius: 20%;
    border-top-right-radius: 20%;
}

.game-control .game-control-ctrl > .center > .bottom {
    bottom: -98%;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
}

.game-control .game-control-btnbox {
    position: absolute;
    right: 8%;
    top: 20%;
    width: 20%;
    height: 48%;
}

.game-control .game-control-btnbox > * {
    position: absolute;
    width: 50%;
    height: 50%;
    /*transition: all 0.3s ease-out;*/
}

.game-control .game-control-btnbox > *:active {
    transform: scale(1.1);
    opacity: 0.6;
}

.game-control .game-control-btnbox > .btn-a {
    left: 0;
    bottom: 0;
}


.game-control .game-control-btnbox > .btn-b {
    top: 0;
    right: 0;
}

.game-control .game-control-btnbox img {
    width: 100%;
    height: 100%;
}

/**/
.game-control .game-control-rangebox {
    position: absolute;
    top: 70%;
    width: 24%;
    height: 6%;
    /*background: #abc;*/
    /*overflow: hidden;*/
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-90deg);
    transform-origin: left center;
}

.game-control .game-control-rangebox > * {
    /*transform-origin: left center;*/
    position: absolute;
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
    background: #cab;
    padding: 0;
    margin: 0;
}

.game-control .game-control-rangebox.a {
    left: 41%;
}


.game-control .game-control-rangebox.b {
    left: 63%;
}

.game-control .game-control-close {
    position: absolute;
    width: 4%;
    height: 10%;
    left: 50%;
    top: 6%;
    font-size: 36px;
    color: #aaa;
    display: flex;
    justify-content: center;
    align-items:center;
}