.board {
    display: grid;
    grid-template-columns: repeat(9, 60px);
    grid-template-rows: repeat(9, 60px);
    background-color: #000;
    border: 3px solid #000;
    width: max-content;
    margin: 20px auto;
}
.cell {
    width: 69px;
    height: 69px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #ddd;
}
.border-right {
    border-right: 10px solid #000 !important;
}
.border-bottom {
    border-bottom: 10px solid #000 !important;
}

.cell img { width: 100%; }
.cell.fixed { background: #f0f0f0; cursor: default; }

.emoji-picker {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.picker-item {
    width: 65px;
    height: 65px;
    cursor: pointer;
    border: 2px solid #ccc;
    padding: 2px;
    border-radius: 5px;
    transition: opacity 0.3s;
}
.picker-item.selected { border-color: #53fc18; background: #e0ffe0; box-shadow: 0 0 10px #53fc18; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); align-items: center; justify-content: center; z-index: 999; }
.modal-content2 { background: white; padding: 30px; text-align: center; border-radius: 10px; border: 5px solid #53fc18; color: #000}
#final-time, #final-fail {
    font-size: 2em;
    font-weight: 600;
}