:root {
  --bg: #0e0e10;
  --surface: #1a1a1e;
  --surface-hi: #26262c;
  --text: #f4f1ea;
  --muted: #9a978f;
  --accent: #f2b544;
  --accent-ink: #1a1306;
  --radius: 22px;
  --pad: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* kiosk feel: no selection, no callouts, no rubber-band scroll */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  overflow: hidden;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad) calc(var(--pad) + 72px + env(safe-area-inset-bottom));
}

.screen {
  width: 100%;
  max-width: 880px;
  animation: enter 380ms cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  font-weight: 700;
}

p.body {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted);
  margin: 0 0 40px;
  line-height: 1.4;
}

/* ---------- buttons ---------- */
button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 22px;
  font-weight: 700;
  padding: 22px 44px;
  border-radius: 999px;
  min-height: 72px;
  transition: transform 120ms;
}
.primary:active { transform: scale(.97); }
.primary:disabled { opacity: .35; }

.options {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 36px;
}

.options.two-col { grid-template-columns: repeat(2, 1fr); }

.option {
  text-align: left;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 28px 28px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: background 150ms, border-color 150ms, transform 120ms;
}
.option:active { transform: scale(.98); background: var(--surface-hi); }
.option.picked { border-color: var(--accent); background: var(--surface-hi); }
.option .label { font-size: 24px; font-weight: 650; }
.option .sub { font-size: 17px; color: var(--muted); }

/* ---------- input ---------- */
.field {
  width: 100%;
  font: inherit;
  font-size: 30px;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--surface-hi);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 28px;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
.field:focus { border-color: var(--accent); }

/* ---------- qr ---------- */
.qr-wrap {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.qr {
  flex: none;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  width: clamp(240px, 34vw, 380px);
  aspect-ratio: 1;
}
.qr svg { display: block; width: 100%; height: 100%; }
.qr-wrap p.body { margin-bottom: 32px; }
.countdown { font-size: 15px; color: var(--muted); margin-top: 20px; }

@media (orientation: portrait) {
  .qr-wrap { flex-direction: column; text-align: center; }
}

/* ---------- bottom chrome ---------- */
.chrome {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 16px var(--pad) calc(16px + env(safe-area-inset-bottom));
}
.ghost {
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  min-height: 52px;
}
.ghost:active { background: var(--surface); }
.ghost[hidden] { visibility: hidden; display: block; }
