.practice-grid {
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-image: 
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    cursor: crosshair;
    touch-action: none;
}

.character-card {
    transition: all 0.3s;
    cursor: pointer;
}

.character-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
}

.character-card.active {
    border: 3px solid #0d6efd !important;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3) !important;
}

.char-display {
    font-size: 4rem;
    font-weight: bold;
    font-family: "Microsoft YaHei", "SimSun", serif;
}

.practice-canvas {
    position: relative;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.progress-bar-custom {
    height: 30px;
    font-size: 1rem;
    font-weight: bold;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.category-badge {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-badge:hover {
    transform: scale(1.05);
}

.category-badge.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.feedback-icon {
    font-size: 3rem;
    animation: pop 0.3s ease;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

@keyframes pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
