#tekanayoPwaSplash {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(165deg, var(--pwa-splash-bg, #059669) 0%, var(--pwa-splash-bg-deep, #047857) 58%, #065f46 100%);
  color: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#tekanayoPwaSplash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#tekanayoPwaSplash .pwa-splash-card {
  width: min(100%, 320px);
  text-align: center;
}

#tekanayoPwaSplash .pwa-splash-logo-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 1.25rem;
}

#tekanayoPwaSplash .pwa-splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: conic-gradient(
    from -90deg,
    rgba(255, 255, 255, 0.95) 0deg,
    rgba(255, 255, 255, 0.95) var(--pwa-splash-progress, 0deg),
    rgba(255, 255, 255, 0.18) var(--pwa-splash-progress, 0deg),
    rgba(255, 255, 255, 0.18) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: pwa-splash-spin 1.4s linear infinite;
}

#tekanayoPwaSplash.is-ready .pwa-splash-ring {
  animation: none;
}

#tekanayoPwaSplash .pwa-splash-logo {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

#tekanayoPwaSplash .pwa-splash-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

#tekanayoPwaSplash .pwa-splash-logo-fallback {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pwa-splash-bg, #059669);
  letter-spacing: -0.04em;
}

#tekanayoPwaSplash .pwa-splash-name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#tekanayoPwaSplash .pwa-splash-tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

#tekanayoPwaSplash .pwa-splash-meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

#tekanayoPwaSplash .pwa-splash-meter > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bbf7d0, #ffffff);
  transition: width 0.35s ease;
}

#tekanayoPwaSplash .pwa-splash-status {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  min-height: 1.2em;
}

#tekanayoPwaSplash .pwa-splash-status.is-fast {
  color: #ecfdf5;
}

#tekanayoPwaSplash .pwa-splash-status.is-slow {
  color: #fde68a;
}

#tekanayoPwaSplash .pwa-splash-status.is-offline {
  color: #fecaca;
}

@keyframes pwa-splash-spin {
  to { transform: rotate(360deg); }
}

#tekanayoPwaTopBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2147483000;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.08);
  opacity: 1;
  transition: opacity 0.28s ease;
}

#tekanayoPwaTopBar > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--pwa-topbar-color, #059669), color-mix(in srgb, var(--pwa-topbar-color, #059669) 70%, #ffffff));
  transition: width 0.25s ease;
  box-shadow: 0 0 8px color-mix(in srgb, var(--pwa-topbar-color, #059669) 45%, transparent);
}

#tekanayoPwaTopBar.is-hidden {
  opacity: 0;
}

html.pwa-booting body {
  overflow: hidden;
}
