.dingding-card-list-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
}

.dd-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    border-right: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    align-items: center;

}

.dd-card:last-child {
    border-right: none;
}

.dd-card.active,
.dd-card:hover {
    background: linear-gradient(135deg, #e8f3ff 0%, #f0f4ff 100%); 
    background: linear-gradient(135deg, #e6f0ff 0%, #f5f0ff 100%);
}


.dd-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    min-width: 120px;
}

.dd-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.dd-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2329;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dd-tag {
    font-size: 10px;
    color: #1f2329;
    border: 1px solid #dee0e3;
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 8px;
    line-height: 16px;
    font-weight: normal;
}

.dd-card-desc {
    font-size: 12px;
    color: #8f959e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dd-card-desc .arrow {
    margin-left: 4px;
    font-family: monospace; 
    font-size: 14px;
}

.dd-card-btn {
    display: none; 
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 1px solid #3370ff;
    background-color: #fff;
    border: 1px solid #dee0e3;
    border-radius: 20px;
    font-size: 14px;
    color: #1f2329;
    text-decoration: none;
    width: fit-content;
    margin-top: 4px;
    transition: all 0.2s;
}

.dd-card-btn:hover {
    background-color: #f5f5f5;
    border-color: #3370ff;
    color: #3370ff;
}

.dd-card-btn .arrow {
    margin-left: 4px;
}

.dd-card.active .dd-card-desc,
.dd-card:hover .dd-card-desc {
    display: none;
}

.dd-card.active .dd-card-btn,
.dd-card:hover .dd-card-btn {
    display: inline-flex;
}

.dd-card:not(.active):not(:hover) .dd-card-btn {
    display: none;
}

@media screen and (max-width: 1024px) {
    .dingding-card-list-container {
        flex-wrap: wrap;
        padding: 10px;
    }

    .dd-card {
        flex: 0 0 48%; 
        margin-bottom: 10px;
        border-right: none;
        border-radius: 8px;
        background-color: #f9f9f9;
        margin-right: 2%;
    }
    
    .dd-card:nth-child(2n) {
        margin-right: 0;
    }

    .dd-card {
        border: 1px solid #eee;
    }
}

@media screen and (max-width: 600px) {
    .dd-card {
        flex: 0 0 100%; 
        margin-right: 0;
    }
}
