/* "Get the app" banner + how-to sheet */
.xo-app-banner {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 99990;
	display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px;
	background: #0b0f12; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-family: var(--xo-font-body, system-ui, sans-serif);
	animation: xo-app-up .35s ease-out;
}
@keyframes xo-app-up { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .xo-app-banner { animation: none; } }
.xo-app-banner img { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); }
.xo-app-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.xo-app-txt strong { font-size: .95rem; }
.xo-app-txt span { font-size: .8rem; color: #c5cad1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xo-app-banner button { appearance: none; border: 0; cursor: pointer; font: inherit; }
.xo-app-get { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; background: #fff; color: #0b0f12; font-weight: 800 !important; }
.xo-app-no { flex: none; width: 32px; height: 32px; border-radius: 999px; background: transparent; color: #aeb4bb; font-size: 1.4rem !important; line-height: 1; }
@media (min-width: 700px) { .xo-app-banner { left: auto; width: 380px; } }

.xo-app-sheet { position: fixed; inset: 0; z-index: 99995; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.5); }
.xo-app-card {
	position: relative; width: 100%; max-width: 440px; box-sizing: border-box; padding: 26px 22px calc(24px + env(safe-area-inset-bottom, 0px));
	border-radius: 20px 20px 0 0; background: #fff; color: #1f2328; text-align: center; font-family: var(--xo-font-body, system-ui, sans-serif);
	animation: xo-app-up .3s ease-out;
}
@media (min-width: 700px) { .xo-app-sheet { align-items: center; } .xo-app-card { border-radius: 20px; } }
.xo-app-card img { width: 64px; height: 64px; border-radius: 15px; }
.xo-app-card h2 { margin: 12px 0 14px; font-size: 1.25rem; font-family: var(--xo-font-head, inherit); }
.xo-app-card ol { margin: 0; padding: 0 0 0 1.3em; text-align: left; line-height: 1.5; }
.xo-app-card li { margin: 0 0 10px; }
.xo-app-ico { display: inline-flex; vertical-align: middle; color: #0a84ff; }
.xo-app-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: #f1f3f5; color: #1f2328; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Inside the installed app: hide "Get the app" links */
.xo-in-app a[href$="#get-app"], .xo-in-app [data-xo-get-app] { display: none !important; }
