
#yakasu {
    display: grid;
    grid-template-columns: repeat(var(--yakasu-size,9),36px);
    grid-template-rows: repeat(var(--yakasu-size,9),36px);
    gap: 0px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
}
.cell {
    position: relative;
    width: 36px;
    height: 36px;
}
.cell.black {
    background-color: #000000;
    border: 1px solid #000000;
}
input {
    width: 36px;
    height: 36px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #999;
    font-weight: 550;
    box-sizing: border-box;
}
#yakasu input:not(:disabled) {
    color: #6600CC;
}
input.fixed {
    background: #eee;
    font-weight: bold;
    color: #666666;
}
input.error {
    background-color: #F1B9B9;
    color: #A00000;
}
#unefois, #tout, #nouveau {
    width: auto;
    height: auto;
    margin-bottom: 10px;
    padding: 14px 12px !important;
    border-radius: 8px;
    border: 2px solid #2B7CFF;
    background: linear-gradient(#FFFFFF,#EEF6FF);
    cursor: pointer;
    font-weight: 550;
}
#message {
    margin-top: 10px;
}
#showCandidatesLabel input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px;
}
.cell input.error {
    color: #c00000;
    font-weight: bold;
}
.cell input:focus {
    outline: 2px solid #0066FF;
    outline-offset: -2px;
}
.cell {
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}
.cell:nth-child(9n) {
    border-right: 1px solid #999;
}
.candidates {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 9px;
    color: #0066FF;
    pointer-events: none;
}
#difficulty, #gridSize {
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    outline: none;
    border-color: #0066CC;
    box-shadow: 0px 0px 0px 0.5px #0066CC;
    border-radius: 3px;
}
#difficulty:hover, #gridSize:hover {
    background-color: #F0F0F0;
    color: #FF0000;
}
.devinernum {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: -10px;
    margin-bottom: -10px;
}
.txtmobile {
    display: none;
}
.txtnormal {
    display: block;
}
#mobileHint {
    display: none;
    font-weight: bold;
}
@media only screen and (max-width: 700px) {
    #unefois, #tout {
        padding: 16px 12px !important;
    }
    #yakasu {
        --yakasu-size: 9;
    }
    .cell {
        width: 32px;
        height: 32px;
    }
    input {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    input.error {
        background-color: #F1B9B9;
        color: #A00000;
    }
    input.fixed {
        color: #444;
    }
    .candidates {
        font-size: 8px;
    }
    .txtmobile {
        display: block;
    }
    .txtnormal {
        display: none;
    }
    #mobileHint {
        display: block;
        font-weight: bold;
    }
}
@media only screen and (min-width: 701px) and (max-width: 900px) {
    .txtmobile {
        display: block;
    }
    .txtnormal {
        display: none;
    }
    #mobileHint {
        display: block;
        font-weight: bold;
    }
    input.fixed {
        color: #444;
    }
    input.error {
        background-color: #F1B9B9;
        color: #A00000;
    }
}
