/* PC端基础表格样式，保持你现有样式 */
.table-container {
    display: block;
    overflow-x: auto;
}

/* PC端隐藏移动列表 */
.mobile-list {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
}

/* 球样式，推荐命中和未命中 */
.ball {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    color: white;
    font-weight: 600;
    margin: 3px 4px;
    text-align: center;
    user-select: none;
    font-size: 14px;
    border: 1.5px solid transparent;
}

.ball.red {
    background-color: #e03e3e;
    border-color: #cc2a2a;
}

.ball.blue {
    background-color: #2f70f2;
    border-color: #235ec9;
}

.ball.recommend.red {
    background-color: #f9d6d5;
    color: #c9302c;
    border: 1.5px solid #d9827f;
}

.ball.recommend.blue {
    background-color: #dceefc;
    color: #286090;
    border: 1.5px solid #a2c0e8;
}

.ball.recommend.red.hit {
    background-color: #e03e3e;
    color: white;
    border-color: #ff4d4d;
    box-shadow: 0 0 4px 1.5px rgba(255, 77, 77, 0.6);
    font-weight: 700;
}

.ball.recommend.blue.hit {
    background-color: #2f70f2;
    color: white;
    border-color: #3399ff;
    box-shadow: 0 0 4px 1.5px rgba(51, 153, 255, 0.6);
    font-weight: 700;
}

.ball-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* —— 移动端样式 —— */
@media (max-width: 768px) {
    /* PC端隐藏表格 */
    .table-container {
        display: none;
    }


    /* PC端隐藏移动列表 */
    .mobile-list {
        display: block;
    }

    /* 显示移动端卡片列表 */
    .mobile-list {
        display: block;
        max-width: 480px;
        margin: 0 auto;
        padding: 0 10px;
    }

    .mobile-item {
        background: white;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 0 8px rgba(0,0,0,0.1);
        padding: 15px;
        font-size: 14px;
    }

    .issue-number {
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 10px;
        color: #333;
        text-align: center;
    }

    .balls-group {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .label {
        width: 100%;
        font-weight: 600;
        margin-bottom: 6px;
        color: #555;
        text-align: center;
    }
}
