.dietelle-pwa-startup {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffaf2;
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease, visibility .32s ease;
}

.dietelle-pwa-startup.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dietelle-pwa-startup__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #3b302b;
  font-family: Montserrat, Arial, sans-serif;
}

.dietelle-pwa-startup__logo {
  display: block;
  width: 184px;
  height: 72px;
  animation: dietelle-pwa-startup-pulse 1.35s ease-in-out infinite;
}

.dietelle-pwa-startup__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dietelle-pwa-startup__dots {
  display: flex;
  gap: 6px;
}

.dietelle-pwa-startup__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #97744c;
  animation: dietelle-pwa-startup-dot 1.1s ease-in-out infinite;
}

.dietelle-pwa-startup__dots span:nth-child(2) { animation-delay: .14s; }
.dietelle-pwa-startup__dots span:nth-child(3) { animation-delay: .28s; }

@keyframes dietelle-pwa-startup-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes dietelle-pwa-startup-dot {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .dietelle-pwa-startup__logo,
  .dietelle-pwa-startup__dots span { animation: none; }
}

@media (prefers-color-scheme: dark) {
  .dietelle-pwa-startup { background: #241f1c; }
  .dietelle-pwa-startup__dots span { background: #d2b58d; }
}

@media (min-width: 761px), (display-mode: browser) {
  html:not(.dietelle-pwa-standalone) .dietelle-pwa-startup { display: none; }
}

.dietelle-pwa-load-error {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483001;
  padding: 13px 16px;
  border-radius: 14px;
  background: #3b302b;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  font: 600 13px/1.4 Montserrat, Arial, sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.dietelle-pwa-load-error.is-visible { opacity: 1; transform: translateY(0); }
