/* ---------- installable app ---------- */
.is-app .if-browser { display: none; }
.appbar { position: fixed; inset-inline: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 65; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px -10px rgba(0, 0, 0, .35); animation: appbar-in .3s ease-out; }
.appbar img { border-radius: 9px; flex: none; }
.appbar p { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; line-height: 1.5; }
.appbar b { font-size: .92rem; }
.appbar span { font-size: .76rem; color: var(--muted); }
.appbar .btn { height: 38px; padding: 0 16px; }
@keyframes appbar-in { from { transform: translateY(16px); opacity: 0; } }
@media (min-width: 1024px) { .appbar { display: none; } }
.app-page { max-width: 760px; }
.app-hero { display: flex; align-items: center; gap: 20px; margin: 32px 0 8px; padding: 20px; background: var(--bg-2); border-radius: 6px; }
.app-hero img { border-radius: 22px; flex: none; }
.app-hero__state { margin: 0 0 12px; color: var(--text-2); }
.app-steps { margin-top: 36px; padding-top: 10px; border-top: 2px solid var(--rule); }
.app-steps h2 { font-size: 1.15rem; margin-bottom: 8px; }
.app-steps ol { margin: 0; padding-inline-start: 22px; font-family: var(--serif); font-size: 1.05rem; line-height: 2; }
.app-steps .ico { display: inline; vertical-align: -3px; }
/* Inside the installed app: respect notches and hide browser-only bits. */
.is-app .hdr { padding-top: env(safe-area-inset-top); }
