/* The mission film of the sign-in screen. mission.js builds each shot and writes its keyframes; the browser runs them. */

.mission { width: 100%; max-width: 30rem; display: grid; gap: 0.5rem; }
.mission-stage { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #c2d6d6; background: #cfe6ee; overflow: hidden; font-family: inherit; font-weight: 800; font-stretch: 80%; }
.mission-stage path { stroke-linecap: round; stroke-linejoin: round; }
/* Every group turns and grows round its own origin, wherever it has been moved to. */
.mission-stage g { transform-box: view-box; transform-origin: 0 0; }
.mission-shot g { animation-delay: var(--from, 0s) !important; }
.mission-shot.is-held g { animation-play-state: paused !important; }
.mission-shot { animation: mission-cut 260ms ease-out both; }
.mission-shot.is-held { animation: none; }
@keyframes mission-cut { from { opacity: 0; } }

.signin .mission-caption { min-height: 2.7em; max-width: none; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.mission-caption.is-in { animation: mission-caption 420ms var(--ease-out) both; }
@keyframes mission-caption { from { opacity: 0; transform: translateY(0.375rem); } }
.mission-bar { height: 0.25rem; border-radius: 999px; background: var(--rule); overflow: hidden; }
.mission-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 0s linear; }
@media (prefers-reduced-motion: reduce) { .mission-caption.is-in { animation: none; } }
