/* Игровое поле */
#gameBoard {
    display: grid;
    grid-template-columns: repeat(22, 1fr);
    grid-template-rows: repeat(22, 1fr);
    width: min(90vmin, 90vw);
    height: min(90vmin, 90vw);
    max-width: 600px;
    max-height: 600px;
    background-color: #ddd;
    padding: 5px;
    border: 5px solid #000;
    box-shadow: 5px 5px 0px #888;
    position: relative;
}

/* Ячейки */
.cell {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: #bbb;
    border: 2px solid #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s ease-in-out;
    position: relative;
}

/* Клетка с финишем */
.cell.target {
    font-family: 'PixelFont', monospace;
    background-color: yellow;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    border: 3px solid #222;
}

/* Клетка с игроком */
.cell.player {
    font-family: 'PixelFont', monospace;
    background-color: red;
    color: white;
    border: 3px solid #000;
    box-shadow: 0 0 5px red;
}

/* Подсветка возможных ходов
.cell.arrow {
    background-color: #888 !important;
    opacity: 0.8;
}
*/