.an-app-download-overlay {
    position: fixed; inset: 0; z-index: 2147483000; display: flex;
    align-items: center; justify-content: center; padding: 16px;
    background: rgba(20, 22, 28, .58); backdrop-filter: blur(4px); box-sizing: border-box;
}
.an-app-download-overlay *, .an-app-download-overlay *::before { box-sizing: border-box; }
.an-app-download-dialog {
    position: relative; width: 100%; max-width: 400px; max-height: calc(100dvh - 32px);
    overflow-y: auto; margin: 0; padding: 38px 24px 20px; border-radius: 8px;
    background: #fff; color: #22252c; text-align: center; font-family: system-ui, sans-serif;
    border: 1px solid #fff; border-bottom: 5px solid #dce3ed;
    box-shadow: 0 8px 0 rgba(200, 212, 228, .7), 0 24px 36px rgba(0, 0, 0, .22), 0 48px 80px rgba(0, 0, 0, .18); letter-spacing: 0;
}
.an-app-download-close {
    position: absolute; top: 4px; right: 4px; width: 44px; height: 44px;
    display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px;
    background: transparent; color: #45534a; font-size: 28px; cursor: pointer; line-height: 1;
}
.an-app-download-icon {
    display: block; width: 144px; height: 144px; max-width: 100%; object-fit: contain;
    margin: 0 auto 26px; padding: 10px; border-radius: 8px; background: #fff;
    border: 1px solid #edf0f5; border-bottom: 4px solid #dce4f0;
    box-shadow: 0 12px 20px rgba(28, 57, 100, .18), 0 3px 5px rgba(28, 57, 100, .08);
    transform: perspective(600px) rotateX(5deg) rotateY(-7deg);
}
.an-app-download-icon[hidden] { display: none; }
.an-app-download-title { margin: 8px 0 12px; color: #22252c; font-size: 28px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; letter-spacing: 0; }
.an-app-download-description { margin: 0 0 24px; color: #526058; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.an-app-download-link {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 13px 16px; background: #1266d5; color: #fff;
    border: 1px solid #1266d5; border-bottom: 4px solid #084497;
    box-shadow: 0 6px 12px rgba(18, 102, 213, .22); transition: background .15s ease, transform .15s ease;
    font-size: 16px; line-height: 1.4; font-weight: 600; text-decoration: none; border-radius: 6px; overflow-wrap: anywhere;
}
.an-app-download-link:visited { color: #fff; }
.an-app-download-link:hover { background: #0956bb; color: #fff; transform: translateY(-1px); }
.an-app-download-link:active { transform: translateY(2px); box-shadow: 0 2px 5px rgba(18, 102, 213, .18); }
.an-app-download-label { min-width: 0; overflow-wrap: anywhere; }
.an-app-download-arrow { flex: 0 0 24px; font-size: 26px; line-height: 1; }
.an-app-download-eyebrow { margin: 0 0 10px; color: #1258af; font-size: 23px; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
.an-app-download-dismiss {
    display: block; width: 100%; min-height: 44px; margin: 10px 0 0; padding: 10px;
    border: 0; border-radius: 4px; background: transparent; color: #526058;
    font-size: 14px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere;
}
.an-app-download-overlay :focus-visible { outline: 3px solid #2787ca; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .an-app-download-link { transition: none; } }
