.runtime-screen,
.runtime-error {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: var(--bg);
  color: #d7dcd6;
}

.runtime-screen__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgb(216 255 114 / 60%);
  animation: runtime-pulse 900ms ease-in-out infinite alternate;
}

.runtime-error {
  flex-direction: column;
  text-align: center;
}

.runtime-error h1,
.runtime-error p {
  max-width: 620px;
  margin: 0;
}

.runtime-error p {
  color: var(--muted);
}

.noscript {
  position: fixed;
  z-index: 40;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}

.noscript a {
  text-decoration: underline;
}

@keyframes runtime-pulse {
  to {
    opacity: 0.25;
    transform: scale(0.72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .runtime-screen__pulse {
    animation: none;
  }
}
