/* Shared by the QR invitation and the /app/ shell. Event covers keep their own palette. */
html:root {
  --lemon: #faedb6;
  --paper: #fffdf6;
  --apricot: #f3ae88;
  --ground: var(--paper);
  --ink: #23205e;
  --ink-muted: #514966;
  --ink-faint: #a59abc;
  --rule-faint: #d5cda9;
  --inverted: var(--ink);
  --on-inverted: #ffe357;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: var(--display);
  --label: var(--display);
}

#app .top, #app .rail, #app .shell:not(.authed), body.invitation {
  background: var(--lemon);
}

#app .top .wordmark { width: 52px; height: 52px; }
#app .hero .wordmark { width: 96px; height: 96px; }
#app .preview { background: var(--apricot); color: var(--ink); }
#app .rail a.on { background: var(--paper); }
#app .page-head h1, #app .card .name, .invitation .cover h1 {
  font-weight: 750;
  letter-spacing: -.045em;
}
#app .grid .card, .invitation .cover {
  border-radius: 12px;
  box-shadow: 3px 4px 0 var(--apricot);
}
#app .grid .card:focus-visible, .invitation :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

#app .btn, .invitation .btn { border-radius: 8px; }
#app .btn:not(.ghost,.danger,.apple,.google,:disabled,.lb *,.album *),
.invitation :is(#joinBtn,#shootBtn):enabled {
  background: var(--ink);
  color: var(--on-inverted);
  box-shadow: 3px 4px 0 var(--apricot);
  font-weight: 750;
  letter-spacing: .035em;
}
#app .btn:not(.ghost,.danger,.apple,.google,:disabled,.lb *,.album *):active,
.invitation :is(#joinBtn,#shootBtn):enabled:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 2px 0 var(--apricot);
}
#app .btn.apple:enabled, .invitation .btn.apple:enabled { background: #111; color: white; }
#app .btn.google:enabled, .invitation .btn.google:enabled { background: white; color: #202124; }

.invitation::after { content: none; }
.invitation .wrap { min-height: 100dvh; }
.invitation .invite-mark { width: 56px; height: 56px; display: block; margin: 0 0 10px; }
.invitation .cover {
  --cov-ground: var(--paper);
  --cov-ink: var(--ink);
  padding-block: 36px;
}
.invitation .card { background: var(--paper); border: 1px solid var(--rule-faint); border-radius: 12px; }
.invitation #openAppPre { background: var(--paper); color: var(--ink); }
.invitation #nm::placeholder { color: var(--ink-muted); }
.invitation .footmark { width: 40px; flex-basis: 40px; }
.invitation .footmark img { width: 100%; height: auto; display: block; }
.invitation #lb button:focus-visible { outline-color: white; }
