html, body{
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: white;
}

.tOpacity{ transition: opacity 0.3s linear; }
.hidden{
    opacity: 0!important;
    pointer-events: none!important;;
    cursor: crosshair!important;;
}

canvas{
    height: 100%;
    width: 100%;
    display: block;
    cursor: crosshair;
    background: rgba(33, 37, 41, 1.0);
    image-rendering: pixelated;
}

.panel{
    pointer-events: none;
    background-color: rgba(127, 127, 127, 0.50);
    color: white;
    padding: 8px 6px;
    margin: 6px;
    border-radius: 6px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px 0px rgba(255, 255, 255, 0.2);
}

.stats{
    position: absolute;
    top: 0;
    right: 0;
    border-collapse: collapse;
    display: flex;
    flex-direction: column;
    font-family: monospace, monospace;
    font-size: 0.8em;
    line-height: 0.8em;
    min-width: 140px;
}
.stats .statsWidget{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 0.3em;
}
.stats .statsWidget:last-child {
    padding-bottom: 0;
}
.stats .statsWidget .statsTitle{
    margin-right: 0.75em;
}
.stats .statsWidget .statsValue{
    font-style: italic;
    margin-left: 0.75em;
}

.info{
    position: absolute;
    top: 100px;
    left: 100px;
    font-family: monospace, monospace;
    font-size: 0.8em;
    line-height: 0.9em;
}
.info div{
    display: flex;
    flex-direction: column;
    margin: 0 0 0.4em 0;
}
.info div:last-child {
    margin: 0;
}
.info div .infoClass{
    font-weight: bolder;
    font-size: 1.2em;
    line-height: 1.2em;
}
.info div .infoData{
    padding: 0 0 0 0.8em;
}

.buttons{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1em;
    line-height: 1em;
}
.buttons span{
    margin: 0 0.3em 0 0;
    pointer-events: auto;
    cursor: pointer;
}
.buttons span:last-child {
    margin: 0;
}
@media (max-width:480px) {
    .buttons {
        left: 0 !important;
        transform: translate(0, 0) !important;
        flex-direction: column !important;
    }
    .buttons span{
        margin: 0 0 0.3em 0 !important;
    }
}

.config{
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1em;
    padding: 16px;

    min-width: 30%;

    pointer-events: auto;
    cursor: auto;
}
@media (max-width:480px) {
    .config {
        min-width: 90%!important;
    }
}
.config div{
    margin-bottom: 0.3em;
}
.config div:last-child{
    margin-bottom: 0;
}
.config hr{
    margin: 0.3em 0;
    opacity: 0;
}
.config div.title{
    font-weight: bold;
    font-size: 1.3em;
}
.config .option{
    display: flex;
    padding: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.config .option>:first-child{
    flex-shrink: 0;
    margin: 0 0.3em 0 0;
}
.config .option>{
    flex-grow: 1;
}
.config .option>:last-child{
    flex-shrink: 1;
    margin: 0 0 0 0.3em;
}
.config .modalBtns{
    margin-top: 0.3em;
    display: flex;
    justify-content: flex-end;
}

.config .option .needRestart{
    color: gold;
}
.config .optionCheck{
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
}
.config .optionCheck div{
    margin-left: 0.3em;
}