/* No layout movement or navigation delay. The default page stays fully visible. */
@view-transition { navigation: auto; }

html.dallo-module-crossfade::view-transition-group(root) { animation: none; }
html.dallo-module-crossfade::view-transition-old(root) { animation: none; }
html.dallo-module-crossfade::view-transition-new(root) {
    animation: dallo-module-crossfade 180ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) both;
    mix-blend-mode: normal;
}
html.dallo-module-enter :is(.public-shell, .activity-shell) {
    animation: dallo-module-arrive 180ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}
@keyframes dallo-module-crossfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dallo-module-arrive { from { opacity: 0.82; } to { opacity: 1; } }

/* Short first-paint guard on admin routes; without JS login is untouched. */
html.dallo-admin-switch-pending :is(#loginView, #activityLogin, #cfLogin) { display: none; }
html.dallo-admin-switch-pending { background: #f4f5f6; }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    html.dallo-module-enter :is(.public-shell, .activity-shell) { animation: none; }
}
