.snc-download-modal {
    position: fixed;
    z-index: 10060;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.snc-download-modal[hidden] {
    display: none !important;
}

.snc-download-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .52);
}

.snc-download-dialog {
    position: relative;
    width: min(460px, 94vw);
    overflow: hidden;
    color: #2c3035;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.snc-download-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #858b92;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.snc-download-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px 52px 18px 22px;
    background: #fff;
    border-bottom: 1px solid #eef0f2;
}

.snc-download-heading-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
    background: #181a1d;
    border-radius: 8px;
}

.snc-download-heading strong {
    display: block;
    font-size: 18px;
    line-height: 1.35;
}

.snc-download-heading p {
    margin: 3px 0 0;
    color: #8a9097;
    font-size: 12px;
}

.snc-download-platforms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 18px 20px 14px;
}

.snc-download-platform {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 11px;
    color: #30353a !important;
    background: #fff;
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.snc-download-platform:hover {
    background: #fafbfc;
    border-color: #bfc5cc;
    box-shadow: 0 6px 18px rgba(37, 48, 61, .07);
    transform: translateY(-1px);
}

.snc-download-platform.is-recommended {
    background: #f4f9ff;
    border-color: #1672dc;
    box-shadow: 0 8px 22px rgba(22, 114, 220, .12);
}

.snc-download-platform.is-recommended .snc-platform-action {
    background: #1672dc;
}

.snc-platform-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    background: #1672dc;
    border-radius: 8px;
    letter-spacing: 0;
}

.platform-macos .snc-platform-mark {
    background: #272a2e;
}

.platform-android .snc-platform-mark {
    background: #1f9d63;
}

.platform-ios .snc-platform-mark {
    background: #675bd7;
}

.platform-desktop .snc-platform-mark {
    background: #0f766e;
}

.platform-tablet .snc-platform-mark {
    background: #7c3aed;
}

.platform-mobile .snc-platform-mark {
    background: #db2777;
}

.snc-platform-copy {
    min-width: 0;
    display: block;
    flex: 1 1 auto;
}

.snc-platform-copy strong {
    display: block;
    color: #262a2f;
    font-size: 15px;
    line-height: 1.35;
}

.snc-platform-copy small {
    display: block;
    margin-top: 3px;
    color: #92989f;
    font-size: 12px;
    line-height: 1.35;
}

.snc-platform-action {
    min-width: 66px;
    height: 34px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    background: #181a1d;
    border-radius: 6px;
}

.snc-platform-action i {
    margin-left: 3px;
    font-size: 10px;
}

.snc-device-hint {
    margin: 0 20px 12px;
    padding: 9px 10px;
    color: #2368aa;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    background: #f1f7ff;
    border: 1px solid #dbeafe;
    border-radius: 6px;
}

.snc-device-hint:empty {
    display: none;
}

.snc-download-note {
    margin: 0 20px 18px;
    padding: 12px 10px 0;
    color: #92989f;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #edf0f2;
}

.snc-download-note i {
    margin-right: 5px;
}

.io-black-mode .snc-download-dialog {
    color: #eee;
    background: #282b30;
}

@media (max-width: 575.98px) {
    .snc-download-heading {
        padding: 19px 46px 16px 17px;
    }

    .snc-download-platforms {
        padding: 14px;
    }

    .snc-download-note {
        margin: 0 16px 16px;
    }

    .snc-device-hint {
        margin: 0 14px 10px;
    }

    .snc-platform-action {
        min-width: 58px;
    }
}
