/* Share Button in Content */
.mscg-share-wrapper {
    margin: 30px 0;
    text-align: center;
}

.mscg-btn {
    background-color: #2c3e50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.mscg-btn:hover {
    background-color: #34495e;
}

/* Download Button (PC) */
.mscg-download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.3s;
}

.mscg-download-btn:hover {
    background-color: #135e96;
    color: #fff;
}

/* Modal Overlay */
.mscg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mscg-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content */
.mscg-modal-content {
    background: transparent;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    text-align: center;
}

.mscg-image-container {
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.mscg-image-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Tip Text */
.mscg-tip {
    color: #fff;
    margin-top: 15px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Close Button */
.mscg-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

/* Loading */
.mscg-loading {
    color: #fff;
    font-size: 18px;
}