#member-launch-splash { display: none; }
:root[data-member-launch='pending'] #member-launch-splash { display: grid; }
.member-process-splash, #member-launch-splash {
  position: fixed; inset: 0; box-sizing: border-box; width: 100%; max-width: none;
  height: 100dvh; max-height: none; margin: 0; border: 0;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #fbfaff; color: #282735; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --motion-exit: 160ms; --ease-out: cubic-bezier(.23, 1, .32, 1);
}
#member-launch-splash { z-index: 9999; place-items: center; }
.member-process-splash[open] { display: grid; place-items: center; }
.member-process-splash::backdrop { background: transparent; }
.member-process-splash.member-workout-splash {
  inset: 0;
  width: min(22rem, calc(100% - 2rem));
  height: fit-content;
  margin: auto;
  padding: 1.75rem 1.25rem;
  border-radius: 16px;
  background: #fff;
}
.member-workout-splash::backdrop { background: rgb(20 20 25 / .48); }
.member-splash-content { display: flex; flex-direction: column; align-items: center; gap: 20px; width: min(100%, 24rem); text-align: center; }
.member-splash-emblem { width: 80px; height: 80px; object-fit: contain; }
.member-splash-title { margin: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 600; text-wrap: balance; }
.member-splash-title:focus { outline: none; }
.member-splash-retry:focus-visible { outline: 2px solid #286287; outline-offset: 3px; }
.member-splash-content p { margin: 0; color: #696674; font-size: .9375rem; line-height: 1.6; }
.member-splash-save { width: 40px; height: 40px; color: #bb3549; }
.member-splash-spinner { width: 24px; height: 24px; color: #bb3549; animation: member-splash-spin 1s linear infinite; }
.member-splash-track { width: 112px; height: 3px; overflow: hidden; background: #e6e4eb; border-radius: 2px; }
.member-splash-track span { display: block; width: 50%; height: 100%; background: #bb3549; animation: member-splash-travel 1.1s linear infinite alternate; }
.member-splash-retry { min-height: 44px; border: 1px solid #e6e4eb; border-radius: 12px; padding: 10px 20px; color: #282735; background: #fff; font: inherit; cursor: pointer; }
@keyframes member-splash-spin { to { transform: rotate(360deg); } }
@keyframes member-splash-travel { from { transform: translateX(-100%); } to { transform: translateX(200%); } }
:root[data-input='keyboard'] :is(.member-splash-spinner, .member-splash-track span) { animation: none; }
@media (prefers-reduced-motion: reduce) { .member-splash-spinner, .member-splash-track span { animation: none; } }
