/* Shared store links and the progressively enhanced download selector. */
.download-store-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.download-store-links a { display: inline-flex; padding-block: 4px; }
.download-store-links img { display: block; width: 135px; height: 40px; }
.download-dialog { position: fixed; inset: 0; margin: auto; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 48px 32px 36px; border: 0; border-radius: 24px; background: white; color: #1e293b; text-align: center; box-shadow: 0 24px 80px #0f172a40; }
.download-dialog:not([open]) { display: none; }
.download-dialog::backdrop { background: #0f172a99; }
.download-dialog h2 { font-size: 30px; line-height: 1.2; font-weight: 650; margin: 0 0 12px; }
.download-dialog p { color: #475569; margin: 0 0 28px; }
.download-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; background: transparent; }
.download-close:hover { background: #f1f5f9; }
.download-dialog :focus-visible, .download-store-links a:focus-visible { outline: 3px solid #1976d2; outline-offset: 4px; }
html.download-dialog-open { overflow: hidden; }
@media (max-width: 639px) {
    .download-dialog { inset: auto 0 0; width: 100%; max-width: none; margin: 0; max-height: calc(100dvh - 24px); border-radius: 24px 24px 0 0; padding: 48px 24px max(32px, env(safe-area-inset-bottom)); }
}
