.social-qr-icons-wrapper.social-icons-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin: 15px 0 20px;
    padding: 0;
}

.social-qr-icons-wrapper {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    vertical-align: middle;
}

.social-qr-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.1);
    color: #555;
}

.social-qr-icon-link:hover {
    background: rgba(128, 128, 128, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
}

.social-qr-icon-link:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.social-qr-icon-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.social-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.social-qr-modal.show {
    display: block;
}

.social-qr-modal.fade-in {
    animation: socialQrFadeIn 0.3s ease-out;
}

.social-qr-modal.fade-out {
    animation: socialQrFadeOut 0.3s ease-out;
}

@keyframes socialQrFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes socialQrFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.social-qr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.social-qr-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
    width: auto;
}

.social-qr-modal-image {
    display: block;
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-qr-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    transition: color 0.2s ease;
}

.social-qr-modal-close:hover {
    color: #333;
}

.social-qr-modal-close:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
    color: #333;
}

.site-title .social-qr-icons-wrapper {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .social-qr-icons-wrapper.social-icons-inline {
        gap: 10px;
        margin: 12px 0 15px;
    }

    .social-qr-icons-wrapper {
        margin-left: 10px;
    }

    .social-qr-icon-link {
        width: 32px;
        height: 32px;
    }

    .social-qr-icon-link img {
        width: 20px;
        height: 20px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .social-qr-modal-content {
        padding: 20px;
        border-radius: 12px;
    }

    .social-qr-modal-image {
        max-width: 150px;
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .social-qr-icons-wrapper.social-icons-inline {
        gap: 8px;
        margin: 10px 0 12px;
    }

    .social-qr-icon-link {
        width: 28px;
        height: 28px;
    }

    .social-qr-icon-link img {
        width: 18px;
        height: 18px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .social-qr-modal-content {
        padding: 15px;
        border-radius: 10px;
    }

    .social-qr-modal-image {
        max-width: 120px;
        max-height: 120px;
    }

    .social-qr-modal-close {
        font-size: 28px;
        top: 8px;
        right: 10px;
    }
}

@media (max-width: 360px) {
    .social-qr-icons-wrapper.social-icons-inline {
        gap: 6px;
    }

    .social-qr-icon-link {
        width: 26px;
        height: 26px;
    }

    .social-qr-icon-link img {
        width: 16px;
        height: 16px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .social-icon svg {
        width: 14px;
        height: 14px;
    }

    .social-qr-modal-image {
        max-width: 100px;
        max-height: 100px;
    }
}
