/* Entry follows the existing owner theme. No full-screen logo or forced wait. */
#entry-flow .entry-brand .jk-brand-mark { border-radius: 12px; width: 48px; height: 48px; flex: 0 0 48px; }
#entry-flow .entry-brand { animation: none; }
#entry-flow .entry-step[data-entry-step="0"] { max-width: 100%; }
@keyframes jkBrandArrival { from { opacity: .55; transform: translate3d(0,4px,0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #entry-flow .entry-brand { animation: none; } }

/* One common bottom navigation; selection never changes button geometry. */
#phone #bottom-nav .navbtn { min-height: 55px; }
#phone #bottom-nav .navbtn.nav-moment { animation: none !important; }
#phone #bottom-nav [data-nav="stories"],#phone #bottom-nav [data-nav="stories"].active { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
#phone #bottom-nav [data-nav="stories"]::before { display: none; }
#phone #bottom-nav [data-nav="stories"] span { font: inherit; }
#phone.story-context #bottom-nav .navbtn.active { color: #fff !important; }
/* Logo covers preparation only; readiness may end it before the 1.5s fallback. */
.jk-startup { position: absolute; inset: 0; z-index: 110; background: #000; display: grid; place-items: center; }
#phone[data-startup-pending="true"] :is(.app,.bottom-nav,#entry-flow) { visibility: hidden !important; pointer-events: none !important; }
#phone[data-startup-pending="true"] :is(.screen,.entry-flow,.navbtn) { animation: none !important; transition: none !important; }

body.g2-adult-beta #phone #bottom-nav { grid-template-columns: repeat(var(--jk-nav-columns,4),minmax(0,1fr)) !important; }

/* Exact owner image. Decorative zoom may be interrupted as soon as the app is ready. */
#phone .jk-startup { background:#000; overflow:hidden; opacity:1; }
#phone .jk-startup.is-dissolving { opacity:0;pointer-events:none; }
#phone .jk-splash-approved { position:absolute;inset:0;display:grid;place-items:center;background:#000;color:#fff;pointer-events:none; }
#phone .jk-splash-approved-inner { width:100%;height:100%;transform-origin:50% 50%;animation:jkApprovedArrival 1500ms cubic-bezier(.18,.72,.22,1) both;will-change:transform,opacity; }
#phone .jk-splash-symbol.jk-splash-owner-reference { display:block;width:100%;height:100%;object-fit:contain; }
#phone .jk-splash-accessible { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
@keyframes jkApprovedArrival { from { opacity:.85;transform:scale(.99); } to { opacity:1;transform:scale(1.025); } }
@media(prefers-reduced-motion:reduce){#phone .jk-splash-approved-inner{animation:none!important;transform:none!important;opacity:1!important;}}

