/* ================== 布局 ================== */
.w-collect-container {
    display: flex;
    justify-content: center;
}

.w-collect-content {
    width: 100%;
    max-width: 1200px;
    padding: 10px;
}

.w-collect-tip {
    margin: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.w-collect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ================== 卡片 ================== */
.w-collect-card {
    border: 1px solid #eee;
    background: #fcfcfc;
    border-radius: 6px;
    padding: 10px 14px;
    height: 90px;
    box-sizing: border-box;
}

.w-collect-card-inner {
    display: grid;
    /* grid-template-columns: 70px 1fr; */
    grid-template-columns: 1fr;
    height: 100%;
}

.w-collect-logo img {
    width: 56px;
    height: 56px;
    margin-top: 10px;
}

.w-collect-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.w-collect-title {
    font-size: 14.5px;
    color: #464646;
    line-height: 20px;
}


/* ================== 操作（链接） ================== */
.w-collect-actions {
    display: flex;
    gap: 6px;
    font-size: 13px;
}

.w-collect-link {
    color: #409eff;
    color: #4caf50;
    cursor: pointer;
    text-decoration: none;
}

.w-collect-link:hover {
    /* text-decoration: underline; */
}

.w-collect-divider {
    color: #bbb;
    margin: 0 2px;
}

.w-collect-font-color {
    color: #666 !important;
}

/* ================== 空状态 ================== */
.w-collect-empty {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: 200px;
    margin-bottom: 200px;
}

/* ================== 响应式（关键） ================== */
@media screen and (max-width: 640px) {

    .w-collect-grid {
        grid-template-columns: 1fr;
    }

    .w-collect-card {
        height: auto;
        padding: 12px;
    }

    .w-collect-card-inner {
        /* grid-template-columns: 48px 1fr; */
        grid-template-columns: 1fr;
    }

    .w-collect-logo img {
        width: 40px;
        height: 40px;
        margin-top: 4px;
    }

    /* ⭐ info 变成一行 */
    .w-collect-info {
        flex-direction: row;
        align-items: center;
    }

    /* 标题占中间 */
    .w-collect-title {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 操作固定在右 */
    .w-collect-actions {
        margin-left: 6px;
        white-space: nowrap;
    }
}

.collect-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  