/* ===== 联系弹窗 ===== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.contact-modal.show {
    display: flex;
}

.contact-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    min-width: 280px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f7fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e6f7e;
    transition: all 0.2s;
}

.contact-modal-close:hover {
    background: #e8eaed;
    color: #333;
}

.contact-modal-body {
    padding: 20px 10px;
}

.contact-modal-body .modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-modal-body .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #0b1a2b;
    margin-bottom: 12px;
}

.contact-modal-body .modal-phone-number {
    font-size: 28px;
    font-weight: 700;
    color: #65B530;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contact-modal-body .modal-desc {
    font-size: 14px;
    color: #7a8b9c;
    margin-top: 12px;
}

.contact-modal-body .modal-qr-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}

/* 不同类型的弹窗主题色 */
.contact-modal-body.type-phone .modal-icon { color: #65B530; }
.contact-modal-body.type-wechat .modal-icon { color: #07C160; }
.contact-modal-body.type-douyin .modal-icon { color: #000; }

/* ===== 社交链接（通用） ===== */
.author-social-links{
    display: flex;
    gap: 10px;
    justify-content: flex-start‌;
}


.author-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.author-social-links a,
.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-soft, #f0f9e9);
    color: var(--primary-dark, #4f8f26);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
}

.author-social-links a:hover,
.author-social a:hover {
    background: var(--primary, #65B530);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(101, 181, 48, 0.25);
    border-color: var(--primary, #65B530);
}

/* 文章页底部样式调整 */
.author-card-bottom .author-social-links a {
    background: #fff;
    border: 1px solid var(--border-light, #eef2f6);
}
