/* install-door (10-25): the "Get the Ark app" sheet. Mocks: Z:/KITTY-MAILBOX/ark-1020/install-door-mocks/. */
html.ark-door-open, html.ark-door-open body { overflow: hidden; }
.ark-door[hidden], .ark-door .ark-door-sheet, .ark-door .ark-door-line { display: none; }
.ark-door { position: fixed; inset: 0; z-index: 2147483000; color: var(--ark-cream); font-family: var(--font-ui); }
.ark-door:not([data-mode="ios-inapp"]) { background: linear-gradient(180deg, var(--ark-indigo-deep) 0%, var(--ark-indigo-night) 100%); overflow-y: auto; }
.ark-door[data-mode="android"] [data-door="android"],
.ark-door[data-mode="ios"] [data-door="ios"] { display: flex; }
/* install-door-fix (10-25): Android picture guide when beforeinstallprompt never fires. */
.ark-door[data-mode="android-guide"] [data-door="android-guide"] { display: flex; }
.ark-door[data-mode="ios-inapp"] { inset: auto 0 0 0; }
.ark-door[data-mode="ios-inapp"] [data-door="ios-inapp"] { display: flex; }
.ark-door-sheet { flex-direction: column; min-height: 100%; box-sizing: border-box; max-width: 480px; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
.ark-door-sheet[data-door="android"] { align-items: center; text-align: center; padding-top: 96px; }
.ark-door-icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 22px; background: linear-gradient(160deg, var(--ark-icon-from), var(--ark-icon-to)); box-shadow: 0 0 0 1px rgba(195, 173, 245, 0.25), 0 12px 32px rgba(10, 4, 30, 0.45); flex: none; }
.ark-door-icon img { width: 74%; height: auto; }
.ark-door-icon-sm { width: 64px; height: 64px; border-radius: 16px; }
.ark-door-icon-xs { width: 40px; height: 40px; border-radius: 10px; }
.ark-door-eyebrow { margin: 20px 0 0; color: var(--ark-gold); font-size: var(--t-cap); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.ark-door-title { margin: 16px 0 0; font-family: var(--font-ui); font-size: var(--t-name); line-height: 1.15; font-weight: 800; color: var(--ark-cream); }
.ark-door-title-left { text-align: left; margin-top: 24px; }
.ark-door-church { margin: 24px 0 0; padding: 8px 18px; border-radius: 999px; background: rgba(195, 173, 245, 0.16); font-size: var(--t-body); }
.ark-door-why { list-style: none; margin: 40px 0 0; padding: 0; align-self: stretch; text-align: left; }
.ark-door-why li { display: flex; align-items: center; gap: 16px; min-height: 44px; margin: 0 0 22px; font-size: var(--t-body); }
.ark-door-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(242, 181, 68, 0.18); color: var(--ark-gold); font-weight: 800; }
.ark-door-foot { margin-top: auto; align-self: stretch; padding-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ark-door-add { width: 100%; min-height: 64px; border: 0; border-radius: 18px; background: var(--ark-gold); color: var(--ark-ink); font: inherit; font-size: var(--t-lg); font-weight: 800; cursor: pointer; }
.ark-door-later { min-height: 44px; padding: 8px 16px; border: 0; background: none; color: var(--ark-periwinkle); font: inherit; font-size: var(--t-body); text-decoration: underline; cursor: pointer; align-self: center; }
.ark-door-ios-head { display: flex; align-items: center; gap: 16px; }
.ark-door-ios-head .ark-door-eyebrow { margin: 0; }
.ark-door-ios-church { display: block; font-size: var(--t-body); margin-top: 2px; }
.ark-door-sub { margin: 12px 0 0; font-size: var(--t-body); line-height: 1.4; color: rgba(250, 247, 242, 0.88); }
.ark-door-steps { list-style: none; margin: 20px 0 16px; padding: 0; }
.ark-door-steps li { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 18px 16px; border-radius: 18px; background: rgba(195, 173, 245, 0.12); box-shadow: inset 0 0 0 1px rgba(195, 173, 245, 0.2); }
.ark-door-step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ark-gold); color: var(--ark-ink); font-weight: 800; }
.ark-door-step-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(20, 8, 44, 0.45); color: var(--ark-gold); }
.ark-door-steps strong { display: block; font-size: var(--t-body); }
.ark-door-steps small { display: block; margin-top: 2px; font-size: var(--t-cap); color: var(--ark-periwinkle); }
.ark-door-hint { margin: auto 0 0; padding-top: 24px; text-align: center; color: var(--ark-gold); font-size: var(--t-cap); }
.ark-door-line { align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: var(--ark-indigo-night); box-shadow: 0 -4px 16px rgba(10, 4, 30, 0.35); font-size: var(--t-body); }
.ark-door-x { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--ark-periwinkle); font-size: var(--t-lg); cursor: pointer; }
