/* Base look of the shell. Colours follow the demo's theme; the real pages (stage 5 on) add their own files. */
:root {
  --bg: #17140f;
  --card: #221e16;
  --tx: #f1ead8;
  --mut: #a89d86;
  --ac: #d9a441;
  --ok: #58b57c;
  --warn: #e0a23c;
  --bd: #3a3326;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--tx);
  font: 18px/1.5 system-ui, "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
body {
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}
#app {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Stage 1: the empty page */
.start {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}
.start h1 {
  margin: 0 0 4px;
  font-size: 34px;
  font-weight: 800;
  color: var(--ac);
}
.start .ver {
  color: var(--mut);
  margin-bottom: 18px;
}
.start dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  text-align: start;
}
.start dt { color: var(--mut); }
.start dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.start dd.ok { color: var(--ok); }
.start dd.wait { color: var(--warn); }
