/* The guest's own pages: the WiFi sign-in sheet and the rewards page.
   Shared so the two cannot drift apart. The guest sees the venue, not the CRM,
   so this carries its own paint: the El Arco palette turned dark for a rooftop
   at night and a phone held at arm's length. */
/* The guest sees the venue, not the CRM, so this page carries its own paint.
   Same El Arco palette as the website and the CRM, turned dark for a rooftop
   at night and for a phone held at arm's length. */
:root{
  --rail:#243529; --rail-2:#2f4438; --ivory:#f1e5d2; --amber:#e2b77a;
  --sand:#f1e8d9; --paper:#f8f3e9; --ink:#2a211a; --clay:#b4522f;
  --display:ui-serif,"New York",Georgia,serif;
  --safe:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;min-height:100%}
body{
  background:var(--rail);color:var(--ivory);
  font:16px/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  padding:0 20px calc(40px + var(--safe));
  background-image:radial-gradient(130% 70% at 50% -10%,#35503f 0%,#243529 58%,#1b2820 100%);
  background-attachment:fixed;
}
.sheet{width:100%;max-width:420px;margin:0 auto;padding:38px 0 0;text-align:center}
.mark{
  width:52px;height:66px;margin:0 auto 18px;background:var(--amber);
  -webkit-mask:url(assets/symbol.svg) no-repeat center/contain;
          mask:url(assets/symbol.svg) no-repeat center/contain;
}
.backsite{display:flex;align-items:center;min-height:44px;margin:-26px 0 10px;padding:0 4px;font-size:15px;font-weight:600;color:var(--amber);text-decoration:none;text-align:left}
.venue{font-family:var(--display);font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--amber);font-weight:700;margin-top:10px}
h1{font-family:var(--display);font-size:25px;font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:22px 0 0}
.sub{color:rgba(241,229,210,.72);font-size:15px;margin:9px 0 0}

form{margin:26px 0 0;text-align:left}
label{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(241,229,210,.6);font-weight:700;margin:0 0 7px}
input[type=email],input[type=text],input[type=tel],input[type=url],input[type=password]{
  width:100%;min-height:54px;border-radius:14px;padding:0 16px;font-size:17px;
  background:rgba(241,229,210,.07);color:var(--ivory);
  border:1px solid rgba(241,229,210,.22);
}
input::placeholder{color:rgba(241,229,210,.38)}
input:focus{outline:2px solid var(--amber);outline-offset:1px;border-color:transparent}
.field{margin:0 0 15px}
/* A one line reason under an optional box, quieter than its label. */
.field .why{display:block;margin-top:6px;font-size:12.5px;line-height:1.45;
  color:rgba(241,229,210,.55);text-transform:none;letter-spacing:0;font-weight:400}

.consent{display:flex;gap:12px;align-items:flex-start;margin:4px 0 20px;
  background:rgba(241,229,210,.05);border:1px solid rgba(241,229,210,.14);
  border-radius:14px;padding:13px 14px;cursor:pointer}
.consent .box{
  width:24px;height:24px;flex:0 0 auto;border-radius:7px;margin-top:1px;
  border:1.5px solid rgba(241,229,210,.42);display:grid;place-items:center;
  color:var(--rail);font-size:14px;font-weight:800;line-height:1;
}
.consent.on .box{background:var(--amber);border-color:var(--amber)}
.consent .box span{opacity:0}
.consent.on .box span{opacity:1}
/* .consent is a <label>, so it has to shed the field-label styling above. */
.consent p{margin:0;font-size:14.5px;line-height:1.4;color:rgba(241,229,210,.92);
  text-transform:none;letter-spacing:0;font-weight:500}
.consent small{display:block;color:rgba(241,229,210,.55);font-size:12.5px;margin-top:4px;
  text-transform:none;letter-spacing:0;font-weight:400;line-height:1.4}

/* The reason to hand over a phone number, said where the number is typed. */
.perk{display:flex;gap:10px;align-items:flex-start;margin:-6px 0 18px;padding:12px 13px;
  border-radius:12px;background:rgba(226,183,122,.1);border:1px solid rgba(226,183,122,.28)}
.perk .st{color:var(--amber);font-size:15px;line-height:1.3;flex:0 0 auto}
.perk p{margin:0;font-size:13.5px;line-height:1.45;color:rgba(241,229,210,.9)}
.perk small{display:block;color:rgba(241,229,210,.58);font-size:12.5px;margin-top:3px;line-height:1.4}

button.go{
  width:100%;min-height:56px;border:0;border-radius:999px;cursor:pointer;
  background:var(--amber);color:#20301f;font-size:17px;font-weight:700;
  font-family:inherit;box-shadow:0 8px 22px rgba(0,0,0,.28);
}
button.go:active{transform:translateY(1px)}
button.go[disabled]{opacity:.55}
button.link{background:none;border:0;color:rgba(241,229,210,.62);font:inherit;font-size:14px;
  cursor:pointer;padding:12px;width:100%;margin-top:4px;text-decoration:underline}
.err{background:rgba(180,82,47,.22);border:1px solid rgba(226,183,122,.4);color:var(--ivory);
  border-radius:12px;padding:11px 13px;font-size:14px;margin:0 0 15px}
.fine{color:rgba(241,229,210,.45);font-size:11.5px;line-height:1.5;margin:22px 0 0;text-align:center}
/* the legal line under the text message box sits with it, left aligned, in the page's own colour */
.fine a{color:inherit;text-underline-offset:2px}
.consent + .fine{margin:6px 0 0;text-align:left}

/* rewards */
.rw{background:rgba(226,183,122,.09);border:1px solid rgba(226,183,122,.3);
  border-radius:16px;padding:16px;margin:22px 0 0;text-align:left}
.rw .l{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--amber);font-weight:700}
.rw .count{display:flex;align-items:baseline;gap:8px;margin-top:6px}
.rw .count b{font-family:var(--display);font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1}
.rw .count span{font-size:14px;color:rgba(241,229,210,.72)}
.rw .lead{font-size:14.5px;line-height:1.45;margin:10px 0 0;color:rgba(241,229,210,.92)}
.rung{display:flex;gap:11px;align-items:flex-start;padding:12px 0;border-top:1px solid rgba(241,229,210,.13)}
.rung:first-of-type{margin-top:14px}
.rung .pip{width:22px;height:22px;border-radius:50%;flex:0 0 auto;margin-top:1px;
  display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1;
  border:1.5px solid rgba(241,229,210,.3);color:rgba(241,229,210,.45)}
.rung.ready .pip{background:var(--amber);border-color:var(--amber);color:#20301f}
.rung.spent .pip{border-color:rgba(241,229,210,.22);color:rgba(241,229,210,.3)}
.rung .t{flex:1;min-width:0}
.rung .t b{display:block;font-size:15px;font-weight:600;line-height:1.3}
.rung .t span{display:block;font-size:12.5px;color:rgba(241,229,210,.55);margin-top:2px}
.rung.spent .t b{color:rgba(241,229,210,.45);text-decoration:line-through}
.rung .code{font-size:13px;font-weight:700;letter-spacing:.08em;color:#20301f;background:var(--amber);
  border-radius:7px;padding:5px 8px;flex:0 0 auto;margin-top:1px}
.waiting{background:rgba(226,183,122,.14);border:1px solid rgba(226,183,122,.42);
  border-radius:14px;padding:13px 14px;margin:22px 0 0;display:flex;gap:11px;align-items:flex-start;text-align:left}
.waiting .st{color:var(--amber);font-size:16px;line-height:1.2;flex:0 0 auto}
.waiting p{margin:0;font-size:14.5px;line-height:1.4;color:var(--ivory);font-weight:600}
.waiting small{display:block;font-weight:400;color:rgba(241,229,210,.62);font-size:12.5px;margin-top:3px}

/* connected */
.tick{width:74px;height:74px;margin:0 auto 20px;border-radius:50%;background:var(--amber);
  color:#20301f;display:grid;place-items:center;font-size:36px;font-weight:800;line-height:1}
.card{background:rgba(241,229,210,.06);border:1px solid rgba(241,229,210,.16);
  border-radius:16px;padding:16px;margin:22px 0 0;text-align:left}
.card .l{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--amber);font-weight:700}
.card .v{font-size:16px;margin-top:4px}
.card .v b{font-weight:650}
.back{margin-top:6px}
@media (min-width:500px){ .sheet{padding-top:64px} }

/* ---------- the rewards page ---------- */
/* Steps, so a guest who has never connected can see what the thing is. */
.how{text-align:left;margin:24px 0 0}
.how .l{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--amber);font-weight:700}
.how ol{margin:12px 0 0;padding:0;list-style:none;counter-reset:s}
.how li{counter-increment:s;display:flex;gap:11px;align-items:flex-start;padding:9px 0;
  font-size:14.5px;line-height:1.45;color:rgba(241,229,210,.9)}
.how li::before{content:counter(s);flex:0 0 auto;width:22px;height:22px;border-radius:50%;
  background:rgba(226,183,122,.18);border:1px solid rgba(226,183,122,.4);color:var(--amber);
  font-size:12px;font-weight:800;display:grid;place-items:center;line-height:1;margin-top:1px}
/* Why a code is missing when the rewards were found by phone number. */
.note{background:rgba(241,229,210,.06);border:1px solid rgba(241,229,210,.16);
  border-radius:12px;padding:12px 13px;margin:18px 0 0;text-align:left;
  font-size:13.5px;line-height:1.45;color:rgba(241,229,210,.8)}
.spin{color:rgba(241,229,210,.5);font-size:14px;margin:30px 0 0}

/* ---------- adding a receipt ---------- */
/* Check number and total side by side: they are both short and they are read off
   the same line of the receipt. */
.two{display:flex;gap:11px}
.two .field{flex:1;min-width:0}
.claim{margin-top:18px}
.claim .err{margin:12px 0 0}
.claim label{margin-top:12px}
.claim button.go{margin-top:2px}

/* What she has handed in, and where each one got to. */
.rec{display:flex;gap:11px;align-items:center;padding:11px 0;
  border-top:1px solid rgba(241,229,210,.13)}
.rec:first-of-type{margin-top:12px}
.rec .t{flex:1;min-width:0}
.rec .t b{display:block;font-size:15px;font-weight:650;line-height:1.3}
.rec .t span{display:block;font-size:12.5px;color:rgba(241,229,210,.55);margin-top:2px}
.rec .st{flex:0 0 auto;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  font-weight:700;border-radius:999px;padding:5px 9px;
  background:rgba(241,229,210,.1);color:rgba(241,229,210,.6)}
.rec .st.posted{background:rgba(226,183,122,.2);color:var(--amber)}
.rec .st.rejected{background:rgba(180,82,47,.26);color:#f0c9bb}

/* Slide to use a reward */
.ask{margin:2px 0 12px}
.slide{position:relative;height:48px;border-radius:24px;background:rgba(241,229,210,.12);border:1px solid rgba(241,229,210,.22);
  overflow:hidden;user-select:none;-webkit-user-select:none}
.sl-label{position:absolute;inset:0;display:grid;place-items:center;padding:0 54px;font-size:14px;font-weight:600;
  color:var(--ivory);pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sl-thumb{position:absolute;left:3px;top:3px;width:40px;height:40px;border-radius:20px;background:var(--amber);color:#20301f;
  display:grid;place-items:center;font-size:24px;line-height:1;cursor:grab;touch-action:none;transition:transform .22s ease}
.slide.drag .sl-thumb{transition:none;cursor:grabbing}
.slide.busy .sl-thumb{opacity:.7}
.slide.done{background:var(--amber);border-color:transparent}
.slide.done .sl-label{color:#20301f}
.slide.done .sl-thumb{background:#20301f;color:var(--amber);cursor:default}
/* a redeemed slider left on the page: greyed out, the bubbles above it are what moves */
.slide.done.spent{background:rgba(241,229,210,.08);border-color:rgba(241,229,210,.18)}
.slide.done.spent .sl-label{color:rgba(241,229,210,.5)}
.slide.done.spent .sl-thumb{background:rgba(241,229,210,.2);color:rgba(241,229,210,.75)}
.sl-thumb:focus-visible{outline:2px solid var(--ivory);outline-offset:2px}
.proof{text-align:center;margin:-4px 0 16px;padding:16px 12px;border-radius:12px;background:var(--amber);color:#20301f}
.proof .pk{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:800}
.proof .pn{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:700;margin:4px 0 2px}
.proof .pt{font-size:14px;font-weight:600}
.proof .live{margin-top:8px;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.err:empty{display:none}

/* Take a photo of the receipt */
.scan{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;margin:0 0 6px;border-radius:14px;cursor:pointer;
  border:1.5px dashed var(--amber);color:var(--amber);font-size:16px;font-weight:700;letter-spacing:0;text-transform:none;background:rgba(226,183,122,.08)}
.scan .cam{font-size:22px;line-height:1}
.scan.busy{opacity:.6;pointer-events:none}
.scanmsg{margin:0 0 16px}

/* Points waiting to be posted, right under the number */
.pend{display:inline-flex;align-items:baseline;gap:6px;margin:2px 0 12px;padding:7px 14px;border-radius:999px;background:var(--amber);color:#20301f;font-size:15px;font-weight:600}
.pend b{font-size:18px;font-weight:800}
/* Earn extra points */
.earn{margin:2px 0 14px;font-size:16px;line-height:1.4}
.earn b{color:var(--amber);font-size:20px}
.sharepreview{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:12px;margin:12px 0 4px;background:rgba(241,229,210,.06)}
