.int-pwa-splash[hidden] {
  display: none;
}
.int-pwa-splash {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: flex;
  min-height: 100dvh;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(206, 155, 221, 0.32), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(113, 186, 255, 0.22), transparent 55%),
    #eef2ff;
  color: #1e1b4b;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
}
.int-pwa-splash__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.55;
  animation: int-pwa-splash-glow 7s ease-in-out infinite;
}
.int-pwa-splash__glow--a {
  top: 12%;
  left: 8%;
  width: 10rem;
  height: 10rem;
  background: rgba(206, 155, 221, 0.55);
}
.int-pwa-splash__glow--b {
  right: 4%;
  bottom: 14%;
  width: 13rem;
  height: 13rem;
  background: rgba(113, 186, 255, 0.42);
  animation-delay: -3.2s;
}
.int-pwa-splash__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(30, 27, 75, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.int-pwa-splash__stage {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 20rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.int-pwa-splash__mark {
  margin-bottom: 1.35rem;
  animation: int-pwa-splash-mark-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.int-pwa-splash__icon-wrap {
  display: grid;
  place-items: center;
}
.int-pwa-splash__icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 22px rgba(79, 70, 229, 0.32));
  animation: int-pwa-splash-icon-breathe 2.4s ease-in-out infinite;
}
.int-pwa-splash__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #64748b;
  animation: int-pwa-splash-text-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.int-pwa-splash__title {
  margin: 0.15rem 0 0;
  font-size: clamp(2.15rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #1e1b4b;
  animation: int-pwa-splash-text-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.int-pwa-splash__label {
  margin: 1.15rem 0 0;
  min-height: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  animation: int-pwa-splash-text-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.int-pwa-splash__bar {
  margin-top: 1.35rem;
  width: 9.5rem;
  height: 3px;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(206, 155, 221, 0.28);
  animation: int-pwa-splash-text-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.int-pwa-splash__bar-fill {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(206, 155, 221, 0.35), #ce9bdd, #71baff);
  animation: int-pwa-splash-bar 1.65s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}
.int-pwa-splash--exiting {
  animation: int-pwa-splash-out 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes int-pwa-splash-glow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(14px, -12px) scale(1.08);
  }
}
@keyframes int-pwa-splash-mark-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes int-pwa-splash-icon-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.03);
  }
}
@keyframes int-pwa-splash-text-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes int-pwa-splash-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}
@keyframes int-pwa-splash-out {
  to {
    opacity: 0;
    transform: scale(1.03);
    filter: blur(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .int-pwa-splash,
  .int-pwa-splash__glow,
  .int-pwa-splash__mark,
  .int-pwa-splash__icon,
  .int-pwa-splash__eyebrow,
  .int-pwa-splash__title,
  .int-pwa-splash__label,
  .int-pwa-splash__bar,
  .int-pwa-splash__bar-fill,
  .int-pwa-splash--exiting {
    animation: none !important;
  }
  .int-pwa-splash--exiting {
    opacity: 0;
  }
}

.int-pwa-onboard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1280;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.52);
}
.int-pwa-onboard-backdrop[hidden] {
  display: none;
}
.int-pwa-onboard {
  width: min(100%, 22.5rem);
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.interventions-theme-dark .int-pwa-onboard {
  background: #1a2336;
  color: #e5e7eb;
}
.int-pwa-onboard__icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 0.75rem;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.int-pwa-onboard h3 {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: 1.05rem;
}
.int-pwa-onboard p {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}
.int-pwa-onboard ul {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
}
.int-pwa-onboard__cta {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background: #4f46e5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.int-pwa-onboard__cta:disabled {
  opacity: 0.65;
  cursor: wait;
}
.int-pwa-onboard__later {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  border: none;
  background: none;
  color: #64748b;
  font-size: 0.78rem;
  cursor: pointer;
}
.int-pwa-onboard__hint,
.int-pwa-onboard__steps {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #64748b;
}

.int-pwa-pill {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  top: max(0.65rem, env(safe-area-inset-top));
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: #4f46e5;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.28);
}
.int-pwa-pill[hidden] {
  display: none;
}

.int-pwa-update {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  bottom: 1.25rem;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
}
.int-pwa-update[hidden] {
  display: none;
}
.int-pwa-update__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.45rem 0.45rem 0.85rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.int-pwa-update button {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: #4f46e5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
