/* 数独表格样式 */
.sudoku-table {
    border-collapse: collapse;
    margin: 0px auto;
    border: 2px solid #000;
}

.sudoku-table td {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    cursor: default;
    border: 1px solid #ccc;
}

.sudoku-table .editable {
    cursor: pointer;
    background-color: #f9f9f9;
}

.sudoku-table .editable:hover {
    background-color: #e6f7ff;
}

/* 3x3子网格边框 */
.sudoku-table tr:nth-child(3n) td {
    border-bottom: 2px solid #000;
}

.sudoku-table td:nth-child(3n) {
    border-right: 2px solid #000;
}

/* 数字选择器样式 */
.number-picker {
    position: fixed;
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    border-radius: 4px;
}

#number-options {
    width: 160px;
    margin: 0 auto;
}

.number-option {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

.number-option:hover {
    background-color: #f0f0f0;
}

.clearfix {
    clear: both;
}

.number-option.correct-answer {
    background-color: #5FB878;
    /* layui绿色 */
    color: white;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
