/* Colours from the workshop deck. Fonts are local-only with system fallback (no webfonts).
   Yellow text only ever sits on dark blue. */
:root {
  --navy: #003D7A;
  --navy-2: #0a4f94;
  --blue: #0066CC;
  --accent: #FABE51;
  --text: #ffffff;
  --muted: #cfe0f3;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--navy);
  color: var(--text);
  font: 18px/1.4 Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1 { font: 700 1.5rem "Nib Pro", system-ui, sans-serif; margin: 0 0 .5rem; }
.wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 40px; border-top: 6px solid var(--accent); }
.muted { color: var(--muted); }
.note { text-align: center; padding: 32px 8px; font-size: 1.3rem; }

/* phone page */
.choice {
  display: block; width: 100%; margin: 0 0 12px; padding: 20px 16px;
  font: inherit; font-size: 1.25rem; font-weight: 600; text-align: left;
  color: var(--text); background: var(--blue);
  border: 3px solid transparent; border-radius: 0; cursor: pointer;
}
.choice:active, .choice:focus-visible { border-color: var(--accent); outline: none; }
.choice[disabled] { opacity: .5; cursor: default; }
.thanks { text-align: center; padding: 40px 8px; }
.thanks .big { font-size: 3rem; color: var(--accent); }
.msg { color: var(--accent); min-height: 1.4em; text-align: center; }

/* beamer */
.beamer { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 32px 48px; min-height: 100vh; align-items: start; border-top: 8px solid var(--accent); }
.beamer h1 { font-size: 2.6rem; }
.bars { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.bar { position: relative; background: var(--navy-2); border-radius: 0; overflow: hidden; }
.bar .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); transition: width .6s ease; }
.bar .row { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: 1.7rem; font-weight: 600; }
.bar.win { outline: 4px solid var(--accent); background: var(--accent); }
.bar.win .fill { background: var(--accent); }
.bar.win .row { color: #0F2B46; }
.qr { background: #fff; padding: 16px; border-radius: 0; }
.qr svg { display: block; width: 100%; height: auto; }
.side { text-align: center; }
.side .url { font-size: 1.3rem; margin: 14px 0 6px; font-weight: 700; }
.total { font-size: 1.4rem; color: var(--muted); margin-top: 20px; }
.badge { display: inline-block; padding: 4px 14px; background: var(--navy-2); color: var(--accent); font-size: 1.1rem; font-weight: 700; }
@media (max-width: 800px) { .beamer { grid-template-columns: 1fr; padding: 16px; } }
