@media screen and (max-height: 640px) {
    .container.container-single{
        padding-top: 3px !important;
    }
}
#gamebox {
    width: 750px;
    font-size: 16px;
    font-variant: tabular-nums;
    line-height: 1.5;
    font-feature-settings: 'tnum';
    color: #fff;
    text-align: center;
    background-color: #161c1c;
    border: 2px solid #313131;
    position: relative;
}

.header .player {
    float: left;
    width: 33.3333%;
}
.header .player.private {
    color: #1890ff;
}
.header .player.protected {
    color: #ff4d4f;
}
.header .player.active img {
    border-radius: 4px;
    box-shadow: 0 -2px 4px inset;
}
.header .player select {
    border: none;
    outline: none;
    color: #1890ff;
    cursor: pointer;
    background-color: #ddd;
    width: 120px;
    padding: 5px;
}

.board {
    position: relative;
    width: 600px;
    margin: 0px auto;
    padding: 0px 130px 10px 130px;
}
.board .row {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}
.board .cell {
    display: flex;
    width: 110px;
    height: 110px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #eee6;
    background-color: #fff;
    transition: color,background 0.4s;
}
.board .cell.private {
    background-color: #1890ff;
}
.board .cell.protected {
    background-color: #ff4d4f;
}
.board .cell img {
    opacity: 0.95;
    width: 100%;
}

.board .alert {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: none;
    background-color: rgba(22, 28, 28, 0.95);
}
.board .alert.WIN, .board .alert.LOSS, .board .alert.TIE {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.board .alert .message {
    font-size: 1.5em;
    font-weight: bold;
}
.board .alert .action {
    margin-top: 8px;
    padding: 0 6px;
    cursor: pointer;
}
