html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f7f1ea;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

#loading-wrapper {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f7f1ea;
  color: #6b4128;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.loading-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(107, 65, 40, 0.18);
  border-top-color: #6b4128;
  border-radius: 50%;
  animation: pwa-spin 0.85s linear infinite;
}

.loading-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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