.taobao-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
    margin: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-container .article-body div.taobao-card a.taobao-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: none;
    text-decoration: none;
    color: inherit;
    gap: 0;
}

.main-container .article-body div.taobao-card a.taobao-card-link:hover {
    background-color: transparent;
    color: var(--text-color-secondary);
}

.taobao-card-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.taobao-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taobao-card-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #ff4400;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    line-height: 1.4;
}

.taobao-card-info {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.main-container .article-body .taobao-card .taobao-card-info h4.taobao-card-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-color-secondary);
}

.main-container .article-body .taobao-card .taobao-card-info h4.taobao-card-title:hover {
    color: var(--text-color);
}

.taobao-card-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.taobao-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.taobao-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff4400;
}

.taobao-card-commission {
    font-size: 10px;
    color: #ff6a00;
    background: #fff0e6;
    padding: 2px 6px;
    border-radius: 3px;
}

.taobao-card-tpwd {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--background-color);
    border-radius: 4px;
}

.taobao-card-tpwd-text {
    flex: 1;
    font-size: 11px;
    color: #666;
    user-select: all;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taobao-card-tpwd-copy-btn {
    flex-shrink: 0;
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #ff4400;
    background: #fff;
    color: #ff4400;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.taobao-card-tpwd-copy-btn:hover {
    background: #ff4400;
    color: #fff;
}

.taobao-card-tpwd-copy-btn.copied {
    background: #52c41a;
    border-color: #52c41a;
    color: #fff;
}

@media (max-width: 480px) {
    .taobao-card-img {
        width: 100px;
        height: 100px;
    }

    .taobao-card-title {
        font-size: 13px;
    }

    .taobao-card-price {
        font-size: 14px;
    }
}