html.mx-iag-active,
html.mx-iag-active body {
    overflow: hidden !important;
}

#mx-iag-root,
#mx-iag-root * {
    box-sizing: border-box;
}

#mx-iag-root {
    position: fixed;
    z-index: 2147483646;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    display: flex;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, .76);
    cursor: pointer;
    opacity: 1;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.mx-iag-card {
    position: relative;
    width: 420px;
    max-width: calc(100vw - 28px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #050505;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .58);
    line-height: 0;
}

.mx-iag-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    object-fit: contain;
    background: #050505;
}

.mx-iag-download {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    right: 7%;
    bottom: clamp(24px, 3vw, 32px);
    left: 7%;
    z-index: 2;
    display: block;
    width: 86%;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2e7b 0%, #ff3b55 52%, #ff7a1a 100%);
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 50px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    transition: transform .15s ease, filter .15s ease, opacity .15s ease;
}

.mx-iag-download:hover {
    filter: brightness(1.08);
}

.mx-iag-download:active {
    transform: scale(.98);
}

.mx-iag-download:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .9);
    outline-offset: 2px;
}

.mx-iag-download:disabled {
    cursor: wait;
    filter: grayscale(.18);
    opacity: .72;
}

@media (max-height: 718px) {
    .mx-iag-card {
        width: calc((100vh - 28px) * .6079);
        width: calc((100dvh - 28px) * .6079);
    }

    .mx-iag-download {
        min-height: 46px;
        font-size: 16px;
        line-height: 44px;
    }
}

@media (max-width: 380px) {
    .mx-iag-card {
        border-radius: 13px;
    }

    .mx-iag-download {
        right: 6%;
        left: 6%;
        width: 88%;
        min-height: 46px;
        font-size: 16px;
        line-height: 44px;
    }
}
