/* [CSS:INAPP] TASK-107 (owner #208) — pop-up bawah layar "Open in Chrome/Safari" untuk in-app browser (js/inapp.js).
   Warna mandiri (dipakai di landing, onboarding, room, room publik, auth). Motion transform/opacity saja. */
.ia-card {
	position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 70;
	max-width: 480px; margin: 0 auto; padding: 16px; display: grid; gap: 12px;
	border: 3px solid #0b1024; border-radius: 24px;
	background: linear-gradient(160deg, #26315e, #151d42 70%);
	box-shadow: 0 0 0 1px rgba(94, 240, 255, .3) inset, 0 -8px 40px rgba(0, 0, 0, .55);
	color: #eef3ff; font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left;
	opacity: 0; transform: translateY(32px); pointer-events: none;
	transition: opacity .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
.ia-card.on { opacity: 1; transform: none; pointer-events: auto; }
.ia-x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: none; color: #97a6d1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ia-x svg { width: 20px; height: 20px; }
.ia-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding-right: 32px; }
.ia-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(94, 240, 255, .15); color: #5ef0ff; }
.ia-ico svg { width: 28px; height: 28px; }
.ia-head b { display: block; font-size: 20px; line-height: 1.2; font-weight: 900; color: #fff; }
.ia-head small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 700; color: #b4c2e6; }
.ia-go {
	display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px;
	border: 3px solid #0b1024; border-radius: 16px;
	background: linear-gradient(#ffc04d, #ff9a1f 55%, #f07800); box-shadow: 0 4px 0 #b35400, inset 0 3px 0 rgba(255, 255, 255, .45);
	color: #fff; font-size: 18px; font-weight: 900; text-decoration: none; letter-spacing: .01em;
	text-shadow: -1px -1px 0 #8a3a00, 1px -1px 0 #8a3a00, -1px 1px 0 #8a3a00, 1px 1px 0 #8a3a00, 0 2px 0 #8a3a00;
	-webkit-tap-highlight-color: transparent;
}
.ia-go svg { width: 24px; height: 24px; flex: none; }
.ia-go:active { transform: translateY(2px); }
.ia-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: #97a6d1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ia-or::before, .ia-or::after { content: ""; height: 1px; background: rgba(180, 194, 230, .3); }
.ia-steps { margin: 0; padding: 12px 16px 12px 36px; display: grid; gap: 8px; border-radius: 16px; background: #0b1024; font-size: 16px; line-height: 1.45; font-weight: 700; color: #dfe7ff; }
.ia-steps b { color: #fff; }
.ia-dots { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 4px; border-radius: 8px; background: #5ef0ff; color: #0b1024; font-weight: 900; line-height: 1; vertical-align: 1px; }
.ia-copy {
	-webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; padding: 8px 16px;
	border: 2px solid #5ef0ff; border-radius: 16px; background: none; color: #5ef0ff;
	font: inherit; font-size: 14px; font-weight: 900; line-height: 1.3; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ia-copy svg { width: 20px; height: 20px; flex: none; }
/* panah ke menu ⋮ / ••• di pojok kanan atas aplikasi */
.ia-arrow {
	position: fixed; top: calc(8px + env(safe-area-inset-top)); right: 12px; z-index: 71; display: flex; align-items: flex-start; gap: 4px;
	color: #ffc933; pointer-events: none; opacity: 0; transition: opacity .3s ease;
}
.ia-arrow.on { opacity: 1; }
.ia-arrow span { margin-top: 32px; padding: 4px 12px; border-radius: 999px; background: #ffc933; color: #0b1024; font: 900 14px/1.4 Nunito, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.ia-arrow svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.ia-arrow.on svg { animation: ia-nudge 1.4s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes ia-nudge { 0%, 100% { translate: 0 0 } 50% { translate: 6px -6px } }
@media (min-width: 768px) { .ia-card { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .ia-card { transition: opacity .2s ease; transform: none; } .ia-arrow.on svg { animation: none; } }
