:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #616e7c;
  --accent: #b5476a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { overflow: hidden; }

iframe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  border: 0;
  display: block;
}

.status {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  background: var(--bg);
  z-index: 1;
}

.status[hidden] { display: none; }

.status h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--accent);
}

.status p { margin: 0; max-width: 32rem; line-height: 1.5; }
.status .hint { color: var(--muted); font-size: 0.9rem; }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e4e7eb;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}
