/* 页面右上角社交链接样式 - 彻底仿页脚风格 v2.1 */
.md-header-social {
    display: flex !important;
    align-items: center;
    margin-left: 0.5rem;
    margin-right: 2rem;
    gap: 0.4rem;
    padding: 0;
    box-sizing: border-box;
}

.md-header-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    margin: 0;
    color: var(--md-primary-bg-color);
    transition: color 0.125s ease;
    text-decoration: none;
    opacity: 1;
    border: none;
    background: none;
}

.md-header-social__link:hover {
    opacity: 0.7;
}

.md-header-social__link i {
    font-size: 1.6rem !important;
    line-height: 1 !important;
    display: block !important;
    font-weight: bold !important;
}

/* 特定社交平台颜色 */
.md-header-social__link:hover .fa-weixin {
    color: #07c160;
}

.md-header-social__link:hover .fa-envelope {
    color: #ea4335;
}

.md-header-social__link:hover .fa-discord {
    color: #5865f2;
}

/* 响应式设计 */
@media screen and (max-width: 76.1875em) {
    .md-header-social {
        margin-left: 0.4rem;
        margin-right: 1.5rem;
        gap: 0.3rem;
    }
    
    .md-header-social__link {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    .md-header-social__link i {
        font-size: 1.4rem !important;
        font-weight: bold !important;
    }
}

@media screen and (max-width: 48em) {
    .md-header-social {
        display: none;
    }
}
