/**
 * Touch Support Styles for Drop Tic-Tac-Toe
 * Add to your style.css or include as separate file
 */

/* Highlight cells when dragging over them */
.CdivBox.touch-hover {
    background-color: rgba(100, 200, 100, 0.4) !important;
    box-shadow: inset 0 0 15px rgba(100, 255, 100, 0.5);
    transform: scale(1.05);
}

/* Smooth transitions for hover effects */
.CdivBox {
    transition: background-color 0.15s ease, 
                box-shadow 0.15s ease, 
                transform 0.15s ease;
}

/* Prevent text selection during drag */
#obj10, #obj11 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

/* Make pieces look more tappable on mobile */
@media (hover: none) and (pointer: coarse) {
    #obj10, #obj11 {
        cursor: grab;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
    
    #obj10:active, #obj11:active {
        transform: scale(0.95);
    }
}
