.mainPageFrame {
    font-family: 'Inter', sans-serif;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard syntax */
}

.clue-box {
    display: flex;
    border: 1px solid #d1d5db;
    /* gray-300 */
}

.clue-box.illegal .clue-item {
    filter: grayscale(80%);
    opacity: 0.6;
}

.grid-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d1d5db;
    /* gray-300 */
    aspect-ratio: 1 / 1;
}

.clue-item {
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    /* rounded-md */
    flex-shrink: 0;
    position: relative;
}

.clue-item .completion-x {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    /* Make X larger */
    color: rgba(255, 0, 0, 0.6);
    /* Semi-transparent red */
    font-weight: bold;
    pointer-events: none;
}

.color-palette-item.selected {
    outline: 3px solid #3b82f6;
    /* blue-500 */
    outline-offset: 2px;
}

#game-board,
#art-canvas {
    display: grid;
    border: 2px solid #374151;
    /* gray-700 */
}

/* Custom class for thick grid borders */
.grid-cell.border-t-thick {
    border-top-width: 2px;
    border-top-color: #9ca3af;
}

.grid-cell.border-r-thick {
    border-right-width: 2px;
    border-right-color: #9ca3af;
}

.grid-cell.border-b-thick {
    border-bottom-width: 2px;
    border-bottom-color: #9ca3af;
}

.grid-cell.border-l-thick {
    border-left-width: 2px;
    border-left-color: #9ca3af;
}

#drag-counter {
    position: fixed;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 100;
}