/* 正文内容区域 */
.friend-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.friend-content-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

.friend-content {
    font-size: 1.15rem;
    line-height: 2.2;
    color: var(--text-color);
    margin-bottom: 60px;
    background: var(--card-bg);
    padding: 5px 40px 40px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.friend-content .contentstyle {
    display: flex;
	color: #fff;
    flex-direction: column;
}

/* 标题样式 */
.page-title {
    text-align: center;
    margin: 40px 0;
    color: #fff;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
    margin: 15px auto;
    border-radius: 2px;
}

        .friend-links-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 30px 0;
        }
        
        .friend-link-card {
            flex: 0 0 calc(25% - 20px);
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            padding: 20px;
            position: relative;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .friend-link-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }
        
        .status-indicator {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .status-online {
            background-color: #4CAF50;
            box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
            animation: pulse-green 2s infinite;
        }
        
        .status-offline {
            background-color: #F44336;
            box-shadow: 0 0 0 rgba(244, 67, 54, 0.4);
            animation: pulse-red 2s infinite;
        }
        
        .mutual-link {
            position: absolute;
            bottom: 15px;
            right: 15px;
            color: #ff6b6b;
            font-size: 18px;
        }
        
        .friend-link-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .friend-link-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            object-fit: cover;
        }
        
        .friend-link-info {
            flex: 1;
        }
        
        .friend-link-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
            color: #333;
        }
        
        .friend-link-desc {
		    width: 240px; /* 设置容器宽度 */
            white-space: nowrap; /* 禁止文本换行 */
            overflow: hidden; /* 隐藏溢出的内容 */
            text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }
        
        .friend-link-rss {
		    width: 280px; /* 设置容器宽度 */
            white-space: nowrap; /* 禁止文本换行 */
            overflow: hidden; /* 隐藏溢出的内容 */
            text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .rss-item {
            font-size: 13px;
            color: #888;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
		
		.rss-title-new {
            font-size: 13px;
            color: var(--primary-color);
        }

        .rss-title {
            font-size: 13px;
            color: #888;
            }
        
        .rss-item a {
            text-decoration: none;
        }
        
        .section-title {
            margin: 40px 0 20px;
            padding-left: 15px;
            border-left: 4px solid #ff6b6b;
            font-weight: bold;
            color: #fff;
        }
        
        .last-update {
            text-align: center;
            margin: 20px 0;
            color: #888;
            font-size: 14px;
        }
        
        @keyframes pulse-green {
            0% {
                box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
            }
        }
        
        @keyframes pulse-red {
            0% {
                box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
            }
        }
		
		/* 通知样式 */
    .link-check-notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 20px;
        border-radius: 4px;
        color: white;
        z-index: 10000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        max-width: 350px;
    }
    
    .link-check-notification.show {
        transform: translateX(0);
        opacity: 1;
    }
    
    .notification-info {
        background-color: #2196F3;
    }
    
    .notification-success {
        background-color: #4CAF50;
    }
    
    .notification-warning {
        background-color: #FF9800;
    }
    
    .notification-error {
        background-color: #F44336;
    }
    
    /* 进度条样式 */
    #link-check-container {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        padding: 10px 15px;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 9999;
        min-width: 300px;
    }
    
    #link-check-progress {
        height: 10px;
        background: #f0f0f0;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 5px;
    }
    
    #link-check-progress-bar {
        height: 100%;
        background: #4CAF50;
        width: 0%;
        transition: width 0.3s ease;
        border-radius: 5px;
    }
    
    #link-check-status {
        font-size: 12px;
        text-align: center;
        color: #666;
    }
    
    /* 状态文本样式 */
    .link-status-text, .mutual-status {
        font-size: 12px;
        margin-left: 5px;
        font-weight: bold;
    }
    
    .status-online + .link-status-text {
        color: #4CAF50;
    }
    
    .status-offline + .link-status-text {
        color: #F44336;
    }
    
    .status-error + .link-status-text {
        color: #9C27B0;
    }
        
        /* 移动端适配 */
        @media (max-width: 992px) {
            .friend-link-card {
                flex: 0 0 calc(33.333% - 20px);
            }
        }
        
        @media (max-width: 768px) {
            .friend-link-card {
                flex: 0 0 calc(50% - 20px);
            }
        }
        
        @media (max-width: 576px) {
            .friend-link-card {
                flex: 0 0 100%;
            }
        }