.lottery-orders--doublecolor .red-balls {
    grid-template-columns: repeat(6, 1fr) !important;
}

.lottery-orders--doublecolor .blue-balls {
    grid-template-columns: repeat(3, 1fr) !important;
}

.lottery-orders--doublecolor .digit-row[data-digit="red"] .number.selected { 
    background: #FF2752 !important; 
    color: #fff !important; 
    border-color: #FF2752 !important; 
}

.lottery-orders--doublecolor .digit-row[data-digit="blue"] .number.selected { 
    background: #267aff !important; 
    color: #fff !important; 
    border-color: #267aff !important; 
}

.lottery-ball.red-ball {
    background-color: #FF2752 !important;
}

.lottery-ball.blue-ball {
    background-color: #267aff !important;
}

.lottery-orders--cart[data-lottery-type="DoubleColor"] .lottery-ball.red-ball { 
    background-color: #FF2752 !important; 
}

.lottery-orders--cart[data-lottery-type="DoubleColor"] .lottery-ball.blue-ball { 
    background-color: #267aff !important; 
}

/* 用户体验优化：小屏下双色球红球/蓝球网格自适应换行 */
@media (max-width: 768px) {
    .lottery-orders--doublecolor .red-balls {
        grid-template-columns: repeat(6, 1fr) !important; /* 红球每行6个数字换行 */
    }

    .lottery-orders--doublecolor .blue-balls {
        grid-template-columns: repeat(3, 1fr) !important; /* 篮球每行3个数字换行 */
    }
}