/* ========================================
   友情链接独立样式文件
   Friends Links Standalone CSS
   ======================================== */

/* 友情链接区域样式 - 独立版本，确保线上兼容性 */
.footer-friends-links-section-m9k3x {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.friends-links-header-p7j4k {
    margin-bottom: 1.5rem;
}

.friends-title-k8x5m {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.friends-title-k8x5m i {
    color: #d4af37;
}

.friends-links-container-j6k9m {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.friend-link-item-k8x5p {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #b8bcc8;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(212, 175, 55, 0.1);
    white-space: nowrap;
    min-height: 32px;
    line-height: 1.4;
    box-sizing: border-box;
}

.friend-link-item-k8x5p:hover {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: #d4af37 !important;
    transform: translateY(-1px);
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.friend-link-item-k8x5p:focus {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.friend-link-item-k8x5p:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 767px) {
    .friends-links-container-j6k9m {
        justify-content: center;
    }
    
    .friend-link-item-k8x5p {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
        min-height: 28px;
    }
}

@media (max-width: 479px) {
    .footer-friends-links-section-m9k3x {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .friends-title-k8x5m {
        font-size: 1rem;
        justify-content: center;
    }
    
    .friend-link-item-k8x5p {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        min-height: 24px;
    }
}

/* 确保在各种主题下都可见 */
@media (prefers-color-scheme: light) {
    .friend-link-item-k8x5p {
        background: rgba(0, 0, 0, 0.05);
        color: #374151;
    }
    
    .friend-link-item-k8x5p:hover {
        color: #d4af37 !important;
        background: rgba(212, 175, 55, 0.1) !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .friend-link-item-k8x5p {
        border-width: 2px;
        border-color: rgba(212, 175, 55, 0.3);
    }
    
    .friend-link-item-k8x5p:hover {
        border-color: #d4af37 !important;
    }
}
