.mobile-splash-template {
  min-height: 100vh;
}

.mobile-splash-desktop-note {
  min-height: 100vh;
  display: none;
  place-items: center;
  padding: 24px;
  background: var(--app-color-background);
}

.mobile-splash-desktop-note .app-panel {
  max-width: 520px;
}

.mobile-splash-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--app-color-accent) 72%, white 18%), transparent 34%),
    linear-gradient(180deg, var(--app-color-accent) 0%, #005864 100%);
  color: #fff;
}

.mobile-splash-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .24), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--app-color-primary) 78%, transparent), color-mix(in srgb, var(--app-color-accent) 62%, transparent));
  opacity: .78;
  pointer-events: none;
}

.mobile-splash-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--app-color-accent) 20%, transparent) 0%, rgba(0, 56, 63, .30) 100%);
  pointer-events: none;
}

.mobile-splash-content {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  display: grid;
  align-content: center;
  gap: 36px;
}

.mobile-splash-brand {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.mobile-splash-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--app-radius-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  background: rgba(255, 255, 255, .14);
}

.mobile-splash-brand-copy {
  display: grid;
  gap: 8px;
}

.mobile-splash-kicker {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.mobile-splash-title {
  margin: 0;
  font-family: var(--app-font-heading);
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
}

.mobile-splash-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

.mobile-splash-loader {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.mobile-splash-loader .app-progress-header {
  color: rgba(255, 255, 255, .84);
}

.mobile-splash-loader .app-progress-track {
  background: rgba(255, 255, 255, .18);
}

.mobile-splash-loader .app-progress-bar {
  background: #fff;
transition: width var(--mobile-splash-progress-duration, 1.5s) linear;
}

.mobile-splash-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}

@media (min-width: 641px) {
  .mobile-splash-desktop-note {
    display: grid;
  }

  .mobile-splash-screen {
    display: none;
  }
}
