/* ---------------------------------------------------------------------------
   Goodfolk customer surfaces.

   Visual authority: docs/mockups/goodfolk_pages_v8.html (approved Sept 2026).
   Tokens come from brim-app.css. Two faces only: Chivo for display, Poppins
   for everything else. No monospace anywhere.

   Every class here is prefixed gf- and scoped under .gf-page so nothing
   leaks into Brim. The older share-page rules in brim-app.css (.gf-listing,
   .gf-cred, .gf-verified, .gf-unverified, .gf-timer, .gf-state, .gf-pay)
   are superseded by these and no longer referenced by the share view.
   --------------------------------------------------------------------------- */

/* Tokens Goodfolk needs that the app sheet does not define. Without them
   var(--dusk-deep) is invalid and a primary button loses its background. */
:root { --dusk-deep: #5367D2; }

.gf-page {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: var(--s5) var(--s5) var(--s9);
  display: grid;
  align-content: start;
  font-family: var(--ui);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.gf-page--wide { width: min(100%, 900px); }
.gf-page a { color: var(--dusk-deep); }
.gf-page *, .gf-page *::before, .gf-page *::after { box-sizing: border-box; }

/* Brand line at the top of every Goodfolk page */
.gf-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s6); }
.gf-brand--meta { margin-bottom: var(--s4); }
.gf-brand svg { display: block; width: 22px; height: 22px; }
.gf-brand .gf-meta { margin-left: auto; }
.gf-meta { font-weight: 500; font-size: 12px; color: var(--slate); }

/* Type */
.gf-lede { font: 700 30px/1.02 var(--display); letter-spacing: -0.035em; margin: 0 0 8px; }
.gf-lede--sm { font-size: 26px; }
/* Confirm your email. */
.gf-confirmed__mark { width: 64px; height: 64px; display: block; margin-top: 30px; }
.gf-confirmed .gf-btn { width: 100%; max-width: 360px; text-align: center; }
.gf-confirm-card { display: flex; gap: 11px; background: #EEF0FB; border-radius: 14px; padding: 13px 14px; margin: 0 0 16px; }
.gf-confirm-card__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dusk-deep); margin-top: 6px; flex: none; }
.gf-confirm-card__title { display: block; font: 700 14px var(--display); color: var(--ink); }
.gf-confirm-card__line { display: block; font-size: 12.5px; color: var(--ink); line-height: 1.45; margin-top: 2px; }
.gf-confirm-card__acts { display: flex; gap: 16px; margin-top: 8px; }
.gf-confirm-card__acts form { margin: 0; }
.gf-confirm-card__acts button { font: 600 12.5px var(--ui); color: var(--dusk-deep); background: none; border: 0; padding: 0; cursor: pointer; }
.gf-confirm-card__acts .gf-confirm-card__later { color: var(--slate); }
/* They've left Goodfolk. */
.gf-gone { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; }
.gf-gone__link { font-size: 12.5px; color: var(--slate); margin: 0 0 34px; overflow-wrap: anywhere; }
.gf-gone__mark { width: 64px; height: 64px; display: block; opacity: .45; }
.gf-gone__title { font: 800 27px/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 18px 0 10px; }
.gf-gone__line { font-size: 13.5px; color: var(--slate); line-height: 1.5; max-width: 300px; margin: 0; }
.gf-page .gf-gone__what { margin-top: 18px; font-weight: 600; font-size: 13.5px; color: var(--dusk-deep); text-decoration: none; }
.gf-sub { color: var(--slate); margin: 0 0 var(--s5); font-size: 13.5px; }
.gf-h3 { font: 600 17px/1.25 var(--display); letter-spacing: -0.012em; margin: var(--s6) 0 10px; }
.gf-fine { font-size: 12.5px; color: var(--slate); line-height: 1.5; margin: 0; }
.gf-clock { font-weight: 600; color: var(--dusk-deep); }
.gf-amt { font-weight: 600; }

/* Buttons */
.gf-page .gf-btn, .gf-btn {
  font: 600 15px var(--ui);
  border: 0;
  border-radius: 6px;
  padding: 15px 18px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  color: var(--white);
  background: var(--dusk-deep);
}
.gf-page .gf-btn--quiet, .gf-btn--quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.gf-btn--sm { padding: 10px 14px; font-size: 14px; display: inline-block; width: auto; }
.gf-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gf-actions { margin-top: auto; display: grid; gap: 10px; padding-top: var(--s6); }
.gf-actions form { margin: 0; }

/* Stamps: the mark is the data */
.gf-stamps { display: flex; gap: 5px; align-items: flex-end; background: none; border: 0; padding: 0; cursor: pointer; }
.gf-stamps:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.gf-stamp { height: 12px; border-radius: 6px; background: var(--dusk); display: block; }
.gf-stamp:nth-child(1) { width: 30px; transform: rotate(-4.2deg); }
.gf-stamp:nth-child(2) { width: 23px; background: var(--dusk-light); transform: rotate(3.1deg) translateY(-2px); }
.gf-stamp:nth-child(3) { width: 28px; transform: rotate(-1.6deg); }
.gf-stamp--off { background: var(--line); }
.gf-ledger { display: grid; gap: 10px; margin: 8px 0 0; }
.gf-ledger__row { display: flex; align-items: center; gap: 12px; }
.gf-ledger__bar { height: 16px; border-radius: 8px; background: var(--dusk); display: block; }
.gf-ledger__row:nth-child(3n+1) .gf-ledger__bar { width: 118px; transform: rotate(-2.4deg); }
.gf-ledger__row:nth-child(3n+2) .gf-ledger__bar { width: 92px; background: var(--dusk-light); transform: rotate(1.8deg); }
.gf-ledger__row:nth-child(3n+3) .gf-ledger__bar { width: 108px; transform: rotate(-1.2deg); }
.gf-ledger__date { font-weight: 500; font-size: 14px; color: var(--ink); }

/* The sale */
.gf-event {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: start;
}
.gf-event__name { font: 600 17px/1.25 var(--display); letter-spacing: -0.012em; }
.gf-event__when { color: var(--ink); font-size: 13.5px; }
/* The person's own time, under the arena's, when theirs differs; neither wraps on a phone. */
.gf-event__when { white-space: nowrap; }
.gf-event__yours { font-weight: 600; }
.gf-event__seats { font-weight: 500; font-size: 13px; margin-top: 4px; grid-column: 1; }
.gf-event__seats .gf-dim { color: var(--slate); font-weight: 400; }
.gf-event__feat { grid-column: 1; font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.gf-event__price { grid-column: 2; grid-row: 1 / 5; text-align: right; font: 600 24px/1 var(--display); letter-spacing: -0.02em; }
.gf-event__price small { display: block; font: 500 12px var(--ui); color: var(--slate); margin-top: 3px; }
/* The seller's list of sales. The only class the seller-pages mockup adds
   to the buyer shell: the buyer pages only ever show one sale, so nothing
   until now had to stack several. */
.gf-sale { border-bottom: 1px solid var(--line); padding: 0 0 4px; margin-bottom: 14px; }
.gf-sale:last-child { border-bottom: 0; }
.gf-sale .gf-event { border-bottom: 0; margin-bottom: 8px; }
/* The whole sale row is the link, so the target is the sale rather than a
   word inside it, and the page's link colour does not repaint the event. */
.gf-sale a.gf-event { color: inherit; text-decoration: none; }
.gf-sale a.gf-event:hover .gf-event__name { text-decoration: underline; }
.gf-sale__state {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--slate);
  padding-bottom: 10px;
}
.gf-sale--yours .gf-sale__state { font-weight: 500; color: var(--ink); }
.gf-sale__state .gf-clock { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gf-sale__state .gf-clock--soon { color: var(--coral); }

.gf-changed { font-size: 12.5px; color: var(--slate); margin: -8px 0 16px; }
.gf-changed b { font-weight: 500; color: var(--ink); }

/* The seller */
.gf-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dusk-tint); color: var(--dusk-deep);
  display: grid; place-items: center;
  font: 600 14px var(--display); flex: none;
}
.gf-avatar--big { width: 56px; height: 56px; font-size: 20px; }
.gf-avatar--revoked { background: var(--coral-tint); color: var(--coral); }
.gf-seller { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gf-seller__who { font-weight: 500; }
.gf-seller__state { font-size: 13px; color: var(--slate); }
.gf-seller .gf-stamps { margin-left: auto; }
.gf-seller a { font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--dusk-pale); }

.gf-seller-full { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 12px; margin-bottom: 14px; }
.gf-seller-full__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gf-seller-full__top .gf-stamps { margin-left: auto; }
.gf-cred-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gf-cred-list li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.gf-cred-list li .gf-meta { margin-left: auto; font-size: 11.5px; white-space: nowrap; }
.gf-cred-list li.gf-cred--team { border-left: 7px solid var(--team, var(--dusk)); padding-left: 10px; }
.gf-rec { display: inline-block; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--dusk-pale); margin-top: 10px; }
.gf-pop { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 4px 14px 12px; margin: -8px 0 16px; }
.gf-pop .gf-cred-list { border-top: 0; }
.gf-pop--line { padding: 10px 14px; font-size: 13px; }

/* Verified check and revoked mark */
.gf-vcheck {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--dusk); vertical-align: -2px; margin-left: 2px;
  border: 0; padding: 0; cursor: pointer; position: relative;
}
.gf-vcheck::after {
  content: ""; width: 8px; height: 4.5px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
}
.gf-vcheck--big { width: 20px; height: 20px; vertical-align: -1px; }
.gf-vcheck--big::after { width: 10px; height: 6px; }
.gf-vcheck:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gf-xmark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); position: relative; vertical-align: -3px; }
.gf-xmark::before, .gf-xmark::after { content: ""; position: absolute; width: 10px; height: 2px; background: var(--white); transform: rotate(45deg); }
.gf-xmark::after { transform: rotate(-45deg); }

/* Proof block */
.gf-proof { background: var(--dusk-tint); border-radius: 6px; padding: 12px 14px; margin: 0 0 18px; }
.gf-proof__k { font: 600 15px var(--display); letter-spacing: -0.012em; margin-bottom: 4px; }
.gf-proof__v { font-weight: 500; font-size: 13.5px; color: var(--ink); }
.gf-proof__t { font-size: 12.5px; color: var(--slate); margin-top: 4px; }
.gf-proof--pending { background: transparent; border: 1px dashed var(--line); }
.gf-proof--pending .gf-proof__k { color: var(--slate); }

/* Notices */
.gf-notice {
  border-left: 3px solid var(--dusk);
  padding: 10px 14px; margin: 0 0 18px;
  font-size: 14px; line-height: 1.5;
  background: var(--white); border-radius: 0 6px 6px 0;
}
.gf-notice--warn { border-left-color: var(--coral); background: var(--coral-tint); }

/* Timeline */
.gf-steps { list-style: none; margin: 0 0 20px; padding: 0; }
.gf-step { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 8px 0; position: relative; }
.gf-step::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.gf-step:first-child::before { top: 18px; }
.gf-step:last-child::before { bottom: auto; height: 18px; }
.gf-step__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); position: relative; z-index: 1; }
.gf-step--done .gf-step__dot { background: var(--dusk); border-color: var(--dusk); }
.gf-step--now .gf-step__dot { border-color: var(--dusk-deep); border-width: 3px; background: var(--white); }
.gf-step--bad .gf-step__dot { border-color: var(--coral); border-width: 3px; background: var(--white); }
.gf-step__t { font-weight: 500; line-height: 22px; }
.gf-step__d { font-size: 13px; color: var(--slate); line-height: 1.45; }
.gf-step--done .gf-step__t { color: var(--slate); font-weight: 400; }
.gf-step--off .gf-step__t { color: #A9AFB7; }

/* The stamp at the end */
.gf-proven { display: grid; justify-items: start; gap: 6px; margin: 6px 0 22px; }
.gf-proven__big {
  display: inline-flex; align-items: center;
  border: 3px solid var(--dusk); border-radius: 6px;
  padding: 10px 16px 10px 12px;
  transform: rotate(-2.5deg);
}
/* The stamp is the wordmark file, not live text (Phase 0, item 0.6). Width
   is set here so the stamp can change size with the page; the viewBox keeps
   the proportion, and the two Dusk values are the file's own. 180px is the
   width the live text measured at 40px, so the stamp did not change size. */
.gf-proven__big .gf-wordmark-art { display: block; width: 180px; height: auto; }
.gf-proven__date { font-weight: 500; font-size: 12.5px; color: var(--slate); padding-left: 4px; }

/* The seal on a finished sale: 28b.1, upright. It lands straight the first
   time someone sees it, turns over once by itself to its code, and a tap
   turns it. A milestone throws the mark's own bars out once.
   lib/goodfolk-seal.php draws it. */
.gf-seal-stamp { margin: 6px 0 18px; }
.gf-seal-stamp__row { display: flex; align-items: stretch; gap: 16px; }
.gf-seal { position: relative; display: block; width: 156px; height: 156px; flex: none; padding: 0; border: 0; background: none; perspective: 700px; color: inherit; font: inherit; }
button.gf-seal { cursor: pointer; }
button.gf-seal:focus-visible { outline: 2px solid var(--dusk-deep); outline-offset: 4px; border-radius: 50%; }
.gf-seal__turnover { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.gf-seal__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gf-seal__face--back { transform: rotateY(180deg); }
.gf-seal.is-over .gf-seal__turnover { transform: rotateY(180deg); }
.gf-seal__svg { display: block; width: 100%; height: 100%; }
.gf-seal__turn { transform-origin: 88px 88px; animation: gf-seal-turn 26s linear infinite; }
@keyframes gf-seal-turn { to { transform: rotate(360deg); } }
.gf-seal.is-landing { animation: gf-seal-land .62s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes gf-seal-land { 0% { transform: scale(1.38); opacity: 0; } 55% { transform: scale(.95); opacity: 1; } 78% { transform: scale(1.02); } 100% { transform: scale(1); } }
.gf-seal__ink { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--dusk); opacity: 0; pointer-events: none; }
.gf-seal.is-landing .gf-seal__ink { animation: gf-seal-ink .7s .3s ease-out both; }
@keyframes gf-seal-ink { 0% { transform: scale(.92); opacity: .55; } 100% { transform: scale(1.32); opacity: 0; } }
.gf-seal__burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.gf-seal__bar { position: absolute; left: 0; top: 0; width: var(--w); height: 5px; border-radius: 3px; background: var(--c); opacity: 0; transform: translate(-50%, -50%); }
.gf-seal.is-bursting .gf-seal__bar { animation: gf-seal-burst 1.1s .28s cubic-bezier(.15, .75, .3, 1) both; }
@keyframes gf-seal-burst { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateX(10px) rotate(var(--r)); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--d)) rotate(calc(var(--r) * 3)); } }
.gf-seal__bar--1 { --a: -80deg; --d: 104px; --r: -14deg; --c: var(--dusk); --w: 26px; }
.gf-seal__bar--2 { --a: -40deg; --d: 112px; --r: 18deg; --c: var(--dusk-light, #A7B5EC); --w: 20px; }
.gf-seal__bar--3 { --a: -5deg; --d: 118px; --r: -8deg; --c: var(--dusk); --w: 30px; }
.gf-seal__bar--4 { --a: 30deg; --d: 106px; --r: 22deg; --c: var(--dusk-light, #A7B5EC); --w: 18px; }
.gf-seal__bar--5 { --a: 70deg; --d: 114px; --r: -20deg; --c: var(--dusk); --w: 24px; }
.gf-seal__bar--6 { --a: 110deg; --d: 108px; --r: 12deg; --c: var(--dusk-light, #A7B5EC); --w: 22px; }
.gf-seal__bar--7 { --a: 150deg; --d: 116px; --r: -6deg; --c: var(--dusk); --w: 28px; }
.gf-seal__bar--8 { --a: 190deg; --d: 104px; --r: 16deg; --c: var(--dusk-light, #A7B5EC); --w: 20px; }
.gf-seal__bar--9 { --a: 230deg; --d: 118px; --r: -18deg; --c: var(--dusk); --w: 26px; }
.gf-seal__bar--10 { --a: 265deg; --d: 110px; --r: 8deg; --c: var(--dusk-light, #A7B5EC); --w: 18px; }
.gf-seal__bar--11 { --a: -120deg; --d: 98px; --r: 24deg; --c: var(--dusk); --w: 16px; }
.gf-seal__bar--12 { --a: -155deg; --d: 112px; --r: -10deg; --c: var(--dusk-light, #A7B5EC); --w: 22px; }
/* The column beside the seal: as tall as the seal, Confirmed and the date at
   its top, Live at its bottom, raised a little; nothing drawn between them. */
.gf-seal-stamp__side { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 6px 0 22px; }
.gf-seal-stamp__top { display: grid; gap: 7px; justify-items: start; }
.gf-seal-stamp__tile { display: grid; place-items: center; flex: none; width: 96px; height: 126px; border-radius: 26px; background: #EEF0FB; }
.gf-seal-stamp__tilemark { width: 44px; height: 44px; display: block; }
.gf-seal-stamp__lane { font: 600 11.5px var(--ui); color: var(--slate); border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; margin-top: 2px; }
.gf-seal-stamp__when { font-size: 11.5px; color: var(--slate); line-height: 1.35; }
.gf-seal-stamp__when b { display: block; font: 700 18px/1.2 var(--display); color: var(--ink); letter-spacing: -.2px; }
.gf-seal-stamp__mile { display: block; font: 700 17px/1.15 var(--display); color: var(--ink); letter-spacing: -.2px; }
.gf-seal-stamp__sub { font-size: 11.5px; color: var(--slate); margin-top: -3px; }
.gf-seal-stamp__top .gf-seal-stamp__share { margin-top: 2px; }
.gf-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 12px; color: var(--slate); white-space: nowrap; }
.gf-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--dusk-deep); animation: gf-live-pulse 1.6s ease-out infinite; }
.gf-live b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes gf-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(83, 103, 210, .45); } 100% { box-shadow: 0 0 0 7px rgba(83, 103, 210, 0); } }
.gf-seal-stamp__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 0 2px; }
.gf-page .gf-seal-stamp__link { font-size: 12px; color: var(--dusk-deep); text-decoration: none; overflow-wrap: anywhere; }
.gf-seal-stamp__share { font: 600 12.5px var(--ui); color: var(--dusk-deep); background: none; border: 1px solid var(--dusk-light, #A7B5EC); border-radius: 9px; padding: 6px 12px; white-space: nowrap; cursor: pointer; }
.gf-seal-stamp__note:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gf-seal__turn, .gf-live i, .gf-seal.is-landing, .gf-seal.is-landing .gf-seal__ink, .gf-seal.is-bursting .gf-seal__bar { animation: none; }
  .gf-seal__turnover { transition: none; }
}

/* Facts and cards (seller page, account, group) */
.gf-hero { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.gf-hero__name { font: 700 30px/1.02 var(--display); letter-spacing: -0.035em; display: flex; align-items: center; gap: 6px; }
.gf-hero__since { font-size: 13px; color: var(--slate); }
.gf-headline { font: 600 17px/1.3 var(--display); letter-spacing: -0.012em; margin: 14px 0 2px; }
.gf-headline small { display: block; font: 500 11.5px var(--ui); color: var(--slate); margin-top: 3px; }
.gf-share-box { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin: 6px 0 0; }
.gf-share-box .gf-meta { display: block; margin-bottom: 6px; }
.gf-ownbar { background: var(--dusk-tint); border-radius: 6px; padding: 8px 12px; font-size: 12.5px; color: var(--ink); margin: -8px 0 16px; }

.gf-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-top: 10px; }
.gf-card__title { font: 600 15px var(--display); letter-spacing: -0.012em; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; }
.gf-card__title a { font: 500 13px var(--ui); text-decoration: none; }
.gf-crow { padding: 9px 0; border-top: 1px solid var(--line); }
.gf-ck { font-weight: 500; font-size: 14px; }
.gf-cv { font-size: 13px; color: var(--slate); line-height: 1.5; margin-top: 2px; }
.gf-cv--strong { color: var(--ink); font-weight: 500; }
/* Share your page. */
.gf-pagecard__img { display: block; width: 100%; max-width: 216px; height: auto; margin: 12px 0 0; border: 1px solid var(--line); border-radius: 12px; }
.gf-pagecard__btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gf-pagecard .gf-fine:empty { display: none; }
.gf-ok { font-size: 11px; font-weight: 600; color: var(--dusk-deep); background: var(--dusk-tint); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }

/* Group page */
.gf-trio { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--white); margin: 0 0 18px; }
.gf-trio div { padding: 12px 14px; border-right: 1px solid var(--line); }
.gf-trio div:last-child { border-right: 0; }
.gf-trio b { display: block; font: 700 26px/1 var(--display); letter-spacing: -0.03em; color: var(--dusk); }
.gf-trio span { font-size: 12px; color: var(--slate); }
.gf-search { display: flex; gap: 8px; margin: 0 0 6px; }
.gf-search input { flex: 1; }
.gf-members { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gf-members li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; }
.gf-members__n { font-weight: 500; }
.gf-members__s { font-size: 13px; color: var(--slate); grid-column: 1; }
.gf-members .gf-stamps { grid-row: 1 / 3; }
.gf-members li.gf-revoked { border-left: 3px solid var(--coral); padding-left: 10px; }
.gf-founding { font-size: 12.5px; color: var(--slate); margin: 0 0 14px; }
.gf-founding b { font-weight: 600; font-size: 11.5px; color: var(--dusk-deep); }

/* Forms */
.gf-field { display: grid; gap: 5px; margin-bottom: 14px; }
.gf-field label { font-size: 13px; font-weight: 500; }
.gf-page input:not([type="checkbox"]), .gf-page select {
  font: 400 15px var(--ui); padding: 12px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--white); color: var(--ink); width: 100%;
}
.gf-page input:focus, .gf-page select:focus { outline: 2px solid var(--dusk-deep); outline-offset: 0; border-color: transparent; }
.gf-hint { font-size: 12px; color: var(--slate); }
.gf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gf-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.gf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 16px; }
.gf-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.gf-link {
  font-weight: 500; font-size: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin: 0 0 10px; word-break: break-all;
}
.gf-link span { color: var(--dusk-deep); font-weight: 600; font-size: 13px; white-space: nowrap; }
/* A group's claim line is one long word; on a phone it breaks
   rather than pushing Copy off the screen. */
.gf-link span[data-group-claim-words] { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.gf-link .gf-copy { flex: none; }
/* A giveaway's row wears a wide Dusk edge. */
.gf-sale--giving { border-left: 10px solid var(--dusk); padding-left: 12px; }
.gf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.gf-facts dt { font-size: 12px; color: var(--slate); }
.gf-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.gf-snippet { font-size: 13.5px; line-height: 1.55; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; overflow-wrap: anywhere; }
/* (the stories robot at 390 px): a long link in a card wraps
   instead of pushing the page sideways, and the group page's long button
   keeps its words on one line on a phone. */
.gf-card { overflow-wrap: anywhere; }
@media (max-width: 420px) { .gf-page .gf-btn--long { font-size: 13.5px; padding-left: 10px; padding-right: 10px; } }

/* Plans */
.gf-plan { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 10px; }
.gf-plan--pick { border: 2px solid var(--dusk); background: var(--dusk-tint); }
.gf-plan__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.gf-plan__name { font: 600 17px var(--display); letter-spacing: -0.012em; }
.gf-plan__price { font: 700 26px/1 var(--display); letter-spacing: -0.03em; color: var(--dusk); }
.gf-plan__price small { font: 400 12px var(--ui); color: var(--slate); margin-left: 4px; letter-spacing: 0; }
.gf-plan__desc { font-size: 13.5px; color: var(--ink); margin-bottom: 12px; }
.gf-plan .gf-btn { padding: 12px 16px; }
.gf-inc { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.gf-inc li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--dusk); margin-right: 10px; vertical-align: 1px; }

/* Admin (desktop) */
.gf-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 720px) { .gf-cols { grid-template-columns: 1fr; gap: 12px; } }
.gf-pool { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); border-radius: 6px; margin-bottom: 14px; }
.gf-pool div { padding: 14px 16px; border-right: 1px solid var(--line); }
.gf-pool div:last-child { border-right: 0; }
.gf-pool b { display: block; font: 700 26px/1 var(--display); letter-spacing: -0.03em; color: var(--dusk); }
.gf-pool span { font-size: 12px; color: var(--slate); }
.gf-rowform { display: flex; gap: 8px; align-items: stretch; }
.gf-rowform input { flex: 1 1 auto; min-width: 0; }
.gf-page .gf-rowform .gf-btn { width: auto; flex: none; }
.gf-page .gf-search .gf-btn { width: auto; flex: none; }
.gf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gf-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--slate); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.gf-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.gf-table th { padding-right: 10px; }
.gf-table td.gf-td-date { color: var(--slate); white-space: nowrap; font-size: 12.5px; }
.gf-feed { list-style: none; margin: 0; padding: 0; }
.gf-feed li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.gf-feed li .gf-meta { display: block; margin-bottom: 2px; }
.gf-feed li.gf-feed--bad { border-left: 3px solid var(--coral); padding-left: 10px; }

/* Motion, only where something changed */
@media (prefers-reduced-motion: no-preference) {
  .gf-step--now .gf-step__dot { animation: gf-pulse 1.8s ease-in-out infinite; }
  @keyframes gf-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(83, 103, 210, .28); }
    50% { box-shadow: 0 0 0 7px rgba(83, 103, 210, 0); }
  }
}
[hidden] { display: none !important; }

/* The legacy handoff spine keeps its markup for the polling contract and
   the tests that assert it; the person sees the timeline above instead. */
.gf-legacy-spine { display: none; }

/* Help and handbook */
.docs__entry { display: block; text-decoration: none; color: var(--ink); }
.docs__entry:hover { border-color: var(--dusk-pale); }
.docs--brim .docs__entry:hover { border-color: var(--field); }
.docs__cols { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .docs__cols { grid-template-columns: 1fr; } .docs__toc { position: static; } }
.docs__toc { position: sticky; top: 16px; display: grid; gap: 4px; font-size: 13px; }
.docs__toc a { text-decoration: none; color: var(--slate); }
.docs__toc a:hover, .docs__toc a.is-current { color: var(--ink); }
.docs__toc-3 { padding-left: 12px; font-size: 12.5px; }
.docs__body { max-width: 720px; font-size: 15px; line-height: 1.6; }
.docs__body h1 { font: 700 30px/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 12px; }
.docs__body h2 { font: 600 21px/1.2 var(--display); letter-spacing: -0.02em; margin: 32px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.docs__body h3 { font: 600 16px/1.3 var(--display); margin: 22px 0 6px; }
.docs__body h4 { font: 600 14px/1.3 var(--ui); margin: 16px 0 4px; }
.docs__body p { margin: 0 0 12px; }
.docs__body ul, .docs__body ol { margin: 0 0 12px; padding-left: 22px; }
.docs__body li { margin: 4px 0; }
.docs__body code { font-family: var(--ui); font-weight: 500; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: 13.5px; }
.docs__body pre { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; overflow: auto; font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.docs__body pre code { border: 0; padding: 0; background: none; font-weight: 400; }
.docs__body table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13.5px; }
.docs__body th { text-align: left; font-weight: 600; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.docs__body td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs__body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.docs__body a { color: var(--dusk-deep); }
.docs--brim .docs__body a { color: var(--field); }
.docs--brim .gf-card__title, .docs--brim .gf-lede { color: var(--ink); }

/* ---------------------------------------------------------------------------
   Desktop. The phone layout is one column in reading order. From 900px the
   page becomes two columns with a job each: the main column is the thing
   you act on (the sale, the form, the plan), the side column is what you
   keep in view while you act (who the seller is, where the sale stands,
   what happens next). On a phone the wrappers dissolve and the blocks keep
   their reading order.
   --------------------------------------------------------------------------- */
.gf-col-main, .gf-col-side { display: contents; }
.gf-page--split { display: flex; flex-direction: column; }
.gf-page--split > .gf-col-main > *, .gf-page--split > .gf-col-side > * { order: 5; }
.gf-page--split .gf-brand { order: 0; }
.gf-page--split .gf-o1 { order: 1; }   /* notices at the top, headline */
.gf-page--split .gf-o2 { order: 2; }   /* the sale */
.gf-page--split .gf-o3 { order: 3; }   /* the seller */
.gf-page--split .gf-o4 { order: 4; }   /* proof and payment */
.gf-page--split .gf-o6 { order: 6; }   /* timeline */
.gf-page--split .gf-o7 { order: 7; }   /* actions */
.gf-page--split .gf-o8 { order: 8; }

@media (min-width: 900px) {
  .gf-page--split {
    width: min(100%, 1040px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 56px;
    align-content: start;
    padding-top: 28px;
  }
  .gf-page--split > .gf-brand { grid-column: 1 / -1; }
  .gf-col-main, .gf-col-side { display: grid; align-content: start; grid-column: auto; }
  .gf-col-main { min-width: 0; }
  .gf-col-side { position: sticky; top: 24px; }
  .gf-page--split .gf-lede { font-size: 40px; }
  .gf-page--split .gf-sub { font-size: 15px; }
  .gf-page--split .gf-actions { margin-top: 8px; }
  .gf-page--split .gf-btn { width: auto; min-width: 260px; justify-self: start; }
  .gf-page--split .gf-actions form .gf-btn, .gf-page--split .gf-rowform .gf-btn { min-width: 0; }
  .gf-page--split .gf-actions { justify-items: start; }
  .gf-page--split .gf-fine { max-width: 520px; }
  .gf-page--split .gf-event { padding: 18px 0; }
  .gf-page--split .gf-event__name { font-size: 22px; }
  .gf-page--split .gf-event__price { font-size: 30px; }
  .gf-page--split .gf-steps { margin-top: 6px; }
  .gf-page--split .gf-proven__big .gf-wordmark-art { width: 234px; }
  .gf-page--split .gf-hero__name { font-size: 40px; }
  .gf-page--split .gf-avatar--big { width: 72px; height: 72px; font-size: 24px; }
  .gf-page--split .gf-ledger__bar { height: 20px; border-radius: 10px; }
  .gf-page--split .gf-ledger__row:nth-child(3n+1) .gf-ledger__bar { width: 160px; }
  .gf-page--split .gf-ledger__row:nth-child(3n+2) .gf-ledger__bar { width: 124px; }
  .gf-page--split .gf-ledger__row:nth-child(3n+3) .gf-ledger__bar { width: 146px; }

  /* Card grids: account, home, join, plans */
  .gf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .gf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
  .gf-grid-2 > .gf-card, .gf-grid-3 > .gf-card, .gf-grid-3 > .gf-plan { margin-top: 0; }
  .gf-page--wide-center { width: min(100%, 1040px); }
  .gf-page--wide-center .gf-lede { font-size: 40px; max-width: 760px; }
  .gf-page--wide-center .gf-sub { font-size: 15px; max-width: 640px; }
  .gf-page--wide-center .gf-btn { width: auto; min-width: 260px; }
  .gf-page--wide-center .gf-actions { justify-items: start; }
  .gf-page--wide-center .gf-plan .gf-btn { width: 100%; min-width: 0; }

  /* Forms: two columns of fields, the side panel says what happens next */
  .gf-page--split form.gf-form-main { display: contents; }
}
@media (max-width: 899px) {
  .gf-grid-2 > .gf-card, .gf-grid-3 > .gf-card { margin-top: 10px; }
  .gf-grid-3 > .gf-plan { margin-bottom: 10px; }
}
@media (min-width: 900px) {
  /* Share page: the seller and the timeline stay in view on the right;
     the sale, the proof and the action are on the left. */
  .gf-share > .gf-col-main { grid-column: 1; }
  .gf-share > .gf-col-side { grid-column: 2; grid-row: 2 / span 2; }
  .gf-share > .gf-col-main--2 { grid-row: 3; }
}
@media (min-width: 900px) {
  /* Reading pages (ask, asked) stay narrow on purpose: one thing to do. */
  .gf-page--read { width: min(100%, 640px); }
  .gf-page--read .gf-btn { width: 100%; }
  .gf-page--read .gf-actions { justify-items: stretch; }
  /* Forms on the new-sale page: fields in two columns where they pair */
  .gf-page--split form .gf-two, .gf-page--split form .gf-three { gap: 14px; }
  .gf-page--split .gf-form-extras { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .gf-page--wide-center .gf-card .gf-btn, .gf-page--split .gf-card .gf-btn,
  .gf-page--wide-center .gf-rowform .gf-btn, .gf-page--wide-center .gf-search .gf-btn { min-width: 0; width: auto; }
  .gf-page--wide-center .gf-card form > .gf-btn { width: auto; }
  .gf-page--wide-center .gf-actions { grid-auto-flow: column; justify-content: start; align-items: center; column-gap: 12px; }
  .gf-page--wide-center .gf-actions > .gf-fine { grid-column: 1 / -1; }
  .gf-page--wide-center .gf-actions form { display: contents; }
}

/* How it works, on the front page: three numbered lines, no card. */
.gf-how { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: 12px; }
.gf-how li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.gf-how__n { width: 28px; height: 28px; border-radius: 8px; background: var(--dusk); color: var(--white); display: grid; place-items: center; font: 600 13px var(--ui); }
.gf-how strong { display: block; font-size: 14.5px; }
.gf-how span:not(.gf-how__n) { display: block; font-size: 13px; color: var(--slate); margin-top: 2px; }
.gf-home .gf-col-side .gf-card { margin-top: 0; }
.gf-home .gf-col-side .gf-card + .gf-card { margin-top: 10px; }
@media (max-width: 899px) { .gf-home .gf-col-side { margin-top: var(--s5); } }

/* The shell on a desktop. brim-app.css lays the page out for Brim's rail
   above 900px (a 236px first column, no brand in the mast). Goodfolk has no
   rail, so those rules squeezed every Goodfolk page into the rail's column.
   The Goodfolk lockup lives in the mast at every size. */
@media (min-width: 900px) {
  [data-brand="goodfolk"] .shell { display: block; background: none; }
  [data-brand="goodfolk"] .app { max-width: 1120px; margin: 0 auto; padding: 0 32px 64px; }
  [data-brand="goodfolk"] .mast { height: 76px; justify-content: space-between; }
  [data-brand="goodfolk"] .mast__brand { display: block; }
  [data-brand="goodfolk"] .screen-inner { max-width: none; }
  .gf-home.gf-page--split { grid-template-columns: minmax(0, 1fr) 360px; }
  .gf-home .gf-lede { font-size: 44px; max-width: 12ch; }
  .gf-home .gf-sub { font-size: 16px; max-width: 46ch; }
}

/* Styling that used to be written as a style attribute (Phase 0, item 0.3).
   The application sends style-src 'self' with no unsafe-inline, so a style
   attribute never reached the browser and every one of these pages was
   already rendering without it. These are the rules they were asking for.
   The spacing steps are the ones the views actually used, no more. */
.gf-mt-0 { margin-top: 0; }
.gf-mt-1 { margin-top: 6px; }
.gf-mt-2 { margin-top: 8px; }
.gf-mt-3 { margin-top: 10px; }
.gf-mt-4 { margin-top: 12px; }
.gf-mt-5 { margin-top: 14px; }
.gf-mt-6 { margin-top: 16px; }
.gf-mb-1 { margin-bottom: 6px; }
.gf-mb-2 { margin-bottom: 8px; }
.gf-mb-3 { margin-bottom: 10px; }
.gf-mb-4 { margin-bottom: 12px; }
.gf-mb-5 { margin-bottom: 14px; }
.gf-mb-6 { margin-bottom: 16px; }
.gf-flush { margin: 0; }

/* A hint that has turned into an error, and a line that leads its row. */
.gf-hint--error { color: var(--coral); }
.gf-strong { font-weight: 500; }

/* A row that opens a card has no rule above it. */
.gf-crow--first { border-top: 0; }
.gf-crow--between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* A hint that sits tight under the field above it. */
.gf-pull { margin: -8px 0 12px; }
.gf-pull-sm { margin: -6px 0 12px; }

.gf-check--flush { margin: 0; }
.gf-check--tight { margin: 0 0 6px; }
.gf-field--tight { margin-bottom: 10px; }

.gf-card--narrow { max-width: 520px; }
.gf-h3--sm { font-size: 14px; }
.gf-meta--spaced { margin: 14px 0 6px; }
.gf-break { word-break: break-all; }
.gf-steplist { display: grid; gap: 6px; }
.gf-page .gf-btn--wide, .gf-btn--wide { width: 100%; text-align: left; }
.gf-plan__price--plain { color: var(--field); }
.gf-rules { margin: 0; font-size: 13.5px; white-space: pre-wrap; }

/* The Markdown editor on a help page in admin. */
.gf-editor {
  width: 100%; font: 13.5px/1.5 var(--ui); padding: 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--white);
}

/* The off-screen holder for the Goodfolk mark's symbol definition. */
.gf-sprite { position: absolute; }

/* A club's colour on the edge of a season fact. The colours are read from
   brim-app.css by team_badge_colours(), so these keep the same keys and the
   same values; the tile palette there stays the one source. */
.gf-team { border-left: 7px solid var(--team, var(--dusk)); padding-left: 10px; }
.gf-team[data-team-league="MLB"][data-team-code="ARI"] { --team: #A71930; }
.gf-team[data-team-league="MLB"][data-team-code="ATL"] { --team: #13274F; }
.gf-team[data-team-league="MLB"][data-team-code="BAL"] { --team: #DF4601; }
.gf-team[data-team-league="MLB"][data-team-code="BOS"] { --team: #BD3039; }
.gf-team[data-team-league="MLB"][data-team-code="CHC"] { --team: #0E3386; }
.gf-team[data-team-league="MLB"][data-team-code="CWS"] { --team: #27251F; }
.gf-team[data-team-league="MLB"][data-team-code="CIN"] { --team: #C6011F; }
.gf-team[data-team-league="MLB"][data-team-code="CLE"] { --team: #00385D; }
.gf-team[data-team-league="MLB"][data-team-code="COL"] { --team: #333366; }
.gf-team[data-team-league="MLB"][data-team-code="DET"] { --team: #0C2340; }
.gf-team[data-team-league="MLB"][data-team-code="HOU"] { --team: #002D62; }
.gf-team[data-team-league="MLB"][data-team-code="KC"] { --team: #004687; }
.gf-team[data-team-league="MLB"][data-team-code="LAA"] { --team: #BA0021; }
.gf-team[data-team-league="MLB"][data-team-code="LAD"] { --team: #005A9C; }
.gf-team[data-team-league="MLB"][data-team-code="MIA"] { --team: #00A3E0; }
.gf-team[data-team-league="MLB"][data-team-code="MIL"] { --team: #12284B; }
.gf-team[data-team-league="MLB"][data-team-code="MIN"] { --team: #002B5C; }
.gf-team[data-team-league="MLB"][data-team-code="NYM"] { --team: #002D72; }
.gf-team[data-team-league="MLB"][data-team-code="NYY"] { --team: #0C2340; }
.gf-team[data-team-league="MLB"][data-team-code="ATH"] { --team: #003831; }
.gf-team[data-team-league="MLB"][data-team-code="PHI"] { --team: #E81828; }
.gf-team[data-team-league="MLB"][data-team-code="PIT"] { --team: #27251F; }
.gf-team[data-team-league="MLB"][data-team-code="SD"] { --team: #2F241D; }
.gf-team[data-team-league="MLB"][data-team-code="SF"] { --team: #FD5A1E; }
.gf-team[data-team-league="MLB"][data-team-code="SEA"] { --team: #0C2C56; }
.gf-team[data-team-league="MLB"][data-team-code="STL"] { --team: #C41E3A; }
.gf-team[data-team-league="MLB"][data-team-code="TB"] { --team: #092C5C; }
.gf-team[data-team-league="MLB"][data-team-code="TEX"] { --team: #003278; }
.gf-team[data-team-league="MLB"][data-team-code="TOR"] { --team: #134A8E; }
.gf-team[data-team-league="MLB"][data-team-code="WSH"] { --team: #AB0003; }
.gf-team[data-team-league="NHL"][data-team-code="TOR"] { --team: #00205B; }
.gf-team[data-team-league="NHL"][data-team-code="MTL"] { --team: #AF1E2D; }
.gf-team[data-team-league="NHL"][data-team-code="BOS"] { --team: #111111; }
.gf-team[data-team-league="NHL"][data-team-code="BUF"] { --team: #003087; }
.gf-team[data-team-league="NHL"][data-team-code="OTT"] { --team: #C8102E; }
.gf-team[data-team-league="NHL"][data-team-code="DET"] { --team: #CE1126; }
.gf-team[data-team-league="NHL"][data-team-code="COL"] { --team: #6F263D; }
.gf-team[data-team-league="NHL"][data-team-code="EDM"] { --team: #041E42; }
.gf-team[data-team-league="NHL"][data-team-code="CGY"] { --team: #C8102E; }
.gf-team[data-team-league="NHL"][data-team-code="VAN"] { --team: #00205B; }
.gf-team[data-team-league="NHL"][data-team-code="WPG"] { --team: #041E42; }
.gf-team[data-team-league="NHL"][data-team-code="UTA"] { --team: #71AFE5; }
.gf-team[data-team-league="NBA"][data-team-code="TOR"] { --team: #CE1141; }
.gf-team[data-team-league="NBA"][data-team-code="BOS"] { --team: #007A33; }
.gf-team[data-team-league="NBA"][data-team-code="LAL"] { --team: #552583; }
.gf-team[data-team-league="NBA"][data-team-code="GSW"] { --team: #1D428A; }
.gf-team[data-team-league="NBA"][data-team-code="CHI"] { --team: #CE1141; }
.gf-team[data-team-league="NBA"][data-team-code="MIA"] { --team: #98002E; }
.gf-team[data-team-league="NBA"][data-team-code="NYK"] { --team: #006BB6; }
.gf-team[data-team-league="NBA"][data-team-code="UTA"] { --team: #002B5C; }
.gf-team[data-team-league="NHL"][data-team-code="ANA"] { --team: #F47A38; }
.gf-team[data-team-league="NHL"][data-team-code="CAR"] { --team: #CC0000; }
.gf-team[data-team-league="NHL"][data-team-code="CHI"] { --team: #CF0A2C; }
.gf-team[data-team-league="NHL"][data-team-code="CBJ"] { --team: #002654; }
.gf-team[data-team-league="NHL"][data-team-code="DAL"] { --team: #006847; }
.gf-team[data-team-league="NHL"][data-team-code="FLA"] { --team: #041E42; }
.gf-team[data-team-league="NHL"][data-team-code="LAK"] { --team: #111111; }
.gf-team[data-team-league="NHL"][data-team-code="MIN"] { --team: #154734; }
.gf-team[data-team-league="NHL"][data-team-code="NSH"] { --team: #FFB81C; }
.gf-team[data-team-league="NHL"][data-team-code="NJD"] { --team: #CE0E2D; }
.gf-team[data-team-league="NHL"][data-team-code="NYI"] { --team: #00539B; }
.gf-team[data-team-league="NHL"][data-team-code="NYR"] { --team: #0038A8; }
.gf-team[data-team-league="NHL"][data-team-code="PHI"] { --team: #F74902; }
.gf-team[data-team-league="NHL"][data-team-code="PIT"] { --team: #000000; }
.gf-team[data-team-league="NHL"][data-team-code="SJS"] { --team: #006D75; }
.gf-team[data-team-league="NHL"][data-team-code="SEA"] { --team: #001628; }
.gf-team[data-team-league="NHL"][data-team-code="STL"] { --team: #002F87; }
.gf-team[data-team-league="NHL"][data-team-code="TBL"] { --team: #002868; }
.gf-team[data-team-league="NHL"][data-team-code="VGK"] { --team: #B4975A; }
.gf-team[data-team-league="NHL"][data-team-code="WSH"] { --team: #041E42; }
.gf-team[data-team-league="NBA"][data-team-code="ATL"] { --team: #E03A3E; }
.gf-team[data-team-league="NBA"][data-team-code="BKN"] { --team: #000000; }
.gf-team[data-team-league="NBA"][data-team-code="CHA"] { --team: #1D1160; }
.gf-team[data-team-league="NBA"][data-team-code="CLE"] { --team: #860038; }
.gf-team[data-team-league="NBA"][data-team-code="DAL"] { --team: #00538C; }
.gf-team[data-team-league="NBA"][data-team-code="DEN"] { --team: #0E2240; }
.gf-team[data-team-league="NBA"][data-team-code="DET"] { --team: #C8102E; }
.gf-team[data-team-league="NBA"][data-team-code="HOU"] { --team: #CE1141; }
.gf-team[data-team-league="NBA"][data-team-code="IND"] { --team: #002D62; }
.gf-team[data-team-league="NBA"][data-team-code="LAC"] { --team: #C8102E; }
.gf-team[data-team-league="NBA"][data-team-code="MEM"] { --team: #5D76A9; }
.gf-team[data-team-league="NBA"][data-team-code="MIL"] { --team: #00471B; }
.gf-team[data-team-league="NBA"][data-team-code="MIN"] { --team: #0C2340; }
.gf-team[data-team-league="NBA"][data-team-code="NOP"] { --team: #0C2340; }
.gf-team[data-team-league="NBA"][data-team-code="OKC"] { --team: #007AC1; }
.gf-team[data-team-league="NBA"][data-team-code="ORL"] { --team: #0077C0; }
.gf-team[data-team-league="NBA"][data-team-code="PHI"] { --team: #006BB6; }
.gf-team[data-team-league="NBA"][data-team-code="PHX"] { --team: #1D1160; }
.gf-team[data-team-league="NBA"][data-team-code="POR"] { --team: #E03A3E; }
.gf-team[data-team-league="NBA"][data-team-code="SAC"] { --team: #5A2D81; }
.gf-team[data-team-league="NBA"][data-team-code="SAS"] { --team: #C4CED4; }
.gf-team[data-team-league="NBA"][data-team-code="WAS"] { --team: #002B5C; }

/* ---------------------------------------------------------------------------
   Membership (Brim's own half of /billing), per
   docs/mockups/brim-batch-2.html. Brim's palette, not Goodfolk's: Sodium is
   Brim's accent and Dusk belongs to Goodfolk, so nothing here borrows the
   plan card colours above.
   --------------------------------------------------------------------------- */
.member2 {
  background: var(--paper, #F5F6F3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 12px;
}
.member2--plus { border-color: var(--field, #17352C); }
.member2__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.member2__name { font: 700 19px var(--display); letter-spacing: -0.015em; color: var(--field, #17352C); }
.member2__now { font: 500 12px var(--ui); color: var(--slate); }
.member2__price { font: 800 26px/1 var(--display); letter-spacing: -0.03em; color: var(--field, #17352C); }
.member2__price s { font-size: 18px; font-weight: 600; color: var(--slate); margin-right: 8px; }
.member2__price small { font: 400 12px var(--ui); color: var(--slate); margin-left: 4px; letter-spacing: 0; }
/* The reason to move, computed from this person's own season. */
.member2__would {
  font-size: 14px; line-height: 1.5; margin: 0 0 12px;
  padding: 12px 14px; border-radius: 8px;
  background: var(--field, #17352C); color: var(--paper, #F5F6F3);
}
.member2__would b { color: var(--sodium, #F0B429); }
.member2__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.member2__list li::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--sodium, #F0B429); margin-right: 10px; vertical-align: 1px;
}
.gf-fine--center { text-align: center; margin-top: 10px; }

/* ---------------------------------------------------------------------------
   Giveaways. `mockups/goodfolk-batch-6.html`, where these are `.next` and
   `.stub`.

   `.gf-next` is not `.gf-steps`. The timeline says where a sale has got to,
   with a line joining what has happened to what has not. This says what will
   happen, before anything has, so it has no line to draw and its dots are
   small enough not to read as progress.
   --------------------------------------------------------------------------- */
.gf-next { list-style: none; margin: 0 0 16px; padding: 0; }
.gf-next li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  padding: 7px 0; font-size: 13.5px; line-height: 1.45;
}
.gf-next__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-top: 6px; }
.gf-next--done .gf-next__dot { background: var(--dusk); }
.gf-next--now .gf-next__dot { background: var(--dusk); box-shadow: 0 0 0 4px var(--dusk-tint); }
.gf-next li small { display: block; color: var(--slate); font-size: 12.5px; }

/* The number somebody gets back for asking. A raffle stub, so the dashed
   edge, and Goodfolk's own shape rather than a season square. */
.gf-stub {
  background: var(--white); border: 1px dashed var(--dusk); border-radius: 8px;
  padding: 12px 14px; margin: 0 0 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.gf-stub__n { font: 800 36px/1 var(--display); letter-spacing: -0.04em; color: var(--dusk-deep); }
.gf-stub__t { font-size: 13px; line-height: 1.45; }
.gf-stub__t b { font-weight: 500; display: block; }

/* The draw, as a show. `mockups/goodfolk-batch-6.html`, the `draw` screen.

   Raffle stubs, numbered, with a torn edge on the left and ends rounded the
   way the mark's bars are. Nothing tilted: the mark's own tilted bars were
   tried as the shape on Sep 19 and rejected the same evening. Never season
   squares, which are Brim's.

   The stubs keep their places to the end, so everyone who was in the draw
   can be seen right up to the winner. Gathering the last ten into the room
   was tried and chosen against as less smooth than expected. */
.gf-draw { margin: 4px 0 16px; }
.gf-draw__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--slate); margin: 0 0 10px;
}
.gf-draw__meta b { font: 600 15px var(--display); color: var(--ink); letter-spacing: -0.01em; }

/* The stub. 8:5, wider than tall; corners 1/8 of the
   width; side notches 1/14 of the width, centred on the short sides. Yours
   Dusk Deep with a white number, the rest light Dusk with an ink number,
   drawn out grey. The mask is drawn as two halves, so each percentage is of
   a half (0.51 of the width): 1/14 of the width is 14% of it across, and
   11.43% of the height. */
.gf-tabs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px;
  align-items: center; justify-items: stretch;
}
.gf-tabs[data-cols="4"] { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gf-tabs[data-cols="8"] { grid-template-columns: repeat(8, 1fr); gap: 6px; }
.gf-tabs[data-cols="16"] { grid-template-columns: repeat(16, 1fr); gap: 4px; }
.gf-tab, .gf-s {
  aspect-ratio: 8 / 5; width: 100%; border-radius: 12.5% / 20%;
  background: #A7B5EC; color: var(--ink, #15181C);
  display: grid; place-items: center; font: 800 15px var(--display); font-style: normal;
  font-variant-numeric: tabular-nums; position: relative;
  -webkit-mask: radial-gradient(ellipse 14% 11.43% at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(ellipse 14% 11.43% at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(ellipse 14% 11.43% at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(ellipse 14% 11.43% at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: background .45s, color .45s;
}
.gf-tabs[data-cols="16"] .gf-tab { font-size: 0; }
/* Drawn out. Still in its place, because the draw is watched as a whole. */
.gf-tab[data-in="0"], .gf-s--out { background: #ECEDEA; color: #C9CCD1; }
/* Yours. No label: the colour says it. */
.gf-tab[data-yours="1"], .gf-s--me { background: #3B4DB8; color: #fff; }
.gf-tab[data-yours="1"][data-in="0"] { background: #ECEDEA; color: #C9CCD1; }
.gf-tab[data-won="1"] { background: #3B4DB8; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .gf-tab { transition: none; }
}
.gf-stubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 14px; }
.gf-stubs--mini { grid-template-columns: repeat(5, 40px); gap: 4px; margin: 0 0 8px; }
.gf-stubs--mini .gf-s { font-size: 12px; }
.gf-s--you { width: 72px; flex: none; }
.gf-s--big { width: 160px; font-size: 56px; margin: 0 auto; }

/* 139a: Sell, or give away? */
.gf-give { border: 0; padding: 0; margin: 4px 0 14px; }
.gf-give__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--line); border-radius: 12px; padding: 4px; margin: 6px 0 12px; }
.gf-give__seg input, .gf-give__way input { position: absolute; opacity: 0; }
.gf-give__seg span { display: block; text-align: center; font: 600 13px var(--ui); padding: 8px; border-radius: 9px; cursor: pointer; }
.gf-give__seg input:checked + span { background: var(--white, #fff); color: var(--dusk-deep); }
.gf-give__ways { display: grid; gap: 6px; }
.gf-give__way > span { display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--white, #fff); padding: 9px 12px; cursor: pointer; }
.gf-give__way input:checked + span { border: 2px solid var(--dusk-deep); }
.gf-give__way b { display: block; font: 600 13px var(--ui); }
.gf-give__way small { font-size: 12px; color: var(--slate); }

/* 139b: how many entered. 139c: your number, big. */
.gf-entered { display: flex; gap: 12px; align-items: center; background: var(--white, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 0 0 12px; }
.gf-entered > b { font: 800 34px var(--display); color: var(--dusk-deep); }
.gf-entered span { font: 600 14px var(--ui); }
.gf-entered small { display: block; font: 400 12px var(--ui); color: var(--slate); }
.gf-num { text-align: center; background: var(--white, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 4px 0 12px; }
.gf-num small { display: block; font: 600 11px var(--ui); color: var(--slate); }
.gf-num b { display: block; font: 900 64px/1 var(--display); color: var(--dusk-deep); margin: 6px 0; }
.gf-num span { font-size: 12px; color: var(--slate); }

/* 139f: the Good folk pill, and what a tap on it says. */
/* (giver-moment.html, screen 4): the mark and "Good folk" in
   Dusk Deep on a dusk tint, no outline. */
.gf-goodfolk { display: inline-flex; align-items: center; gap: 4px; font: 600 11.5px/1.4 var(--ui); letter-spacing: 0; color: var(--dusk-deep); background: #EEF0FB; border: 0; border-radius: 6px; padding: 2px 6px; vertical-align: middle; cursor: pointer; white-space: nowrap; }
.gf-goodfolk--still { cursor: default; }
.gf-goodfolk__mark { width: 14px; height: 14px; flex: none; }
.gf-goodfolk-until { margin-top: 6px; }
.gf-goodfolk-card { display: flex; gap: 10px; align-items: center; background: #EEF1FB; border-radius: 12px; padding: 10px 12px; margin: 6px 0 4px; }
.gf-goodfolk-card .gf-s { width: 48px; flex: none; font-size: 0; }
.gf-goodfolk-card b { display: block; font: 600 12.5px var(--ui); color: var(--ink, #15181C); }
.gf-goodfolk-card a { font: 600 12px var(--ui); color: #3B4DB8; }

/* 139g: the giver, privately. */
.gf-given { text-align: center; padding: 24px 0 8px; }
.gf-given__faces { display: flex; justify-content: center; margin: 0 0 14px; padding-left: 8px; }
.gf-given__faces i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; background: var(--dusk-deep); color: #fff; display: grid; place-items: center; font: 700 13px var(--ui); margin-left: -8px; box-shadow: 0 0 0 3px var(--paper, #F5F6F3); }
.gf-given__faces i:last-child { background: #3B4DB8; }
.gf-given h2 { font: 700 22px/1.15 var(--display); margin: 0 0 6px; }

/* The number, once the thirty seconds are up. */
.gf-reveal { margin: 16px 0 0; }
.gf-reveal__n {
  font: 800 54px/1 var(--display); letter-spacing: -0.04em;
  color: var(--dusk-deep); margin: 0 0 4px;
}
.gf-reveal__line { font: 700 22px/1.15 var(--display); letter-spacing: -0.025em; margin: 0 0 6px; }

/* The giver's own view. `mockups/goodfolk-batch-6.html`, the `giver` screen.

   She has one job, so the address is what the page is built around: big
   enough to read off a phone, with Copy where a thumb already is. */
.gf-addr {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; margin: 0 0 10px;
}
.gf-addr__k {
  font-size: 12.5px; color: var(--slate); font-weight: 500;
  margin-bottom: 4px; display: flex; justify-content: space-between; gap: 12px;
}
.gf-addr__v {
  font: 600 17px/1.25 var(--display); letter-spacing: -0.015em; word-break: break-all;
}
.gf-copy {
  font: 500 12.5px var(--ui); color: var(--dusk-deep);
  background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap;
}

/* Who asked, in I'll pick. A first name, a Reddit name where they gave one,
   and when. Never an email: the page they asked on promised she would not
   get it. */
.gf-askrow {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--line);
}
.gf-askrow:first-of-type { border-top: 0; }
.gf-askrow b { display: block; font: 600 15px var(--display); letter-spacing: -0.01em; }
.gf-askrow span { display: block; font-size: 12.5px; color: var(--slate); }
.gf-askrow form { margin: 0; }
.gf-askrow .gf-btn--sm { padding: 8px 14px; }
.gf-askrow--chosen b { color: var(--dusk-deep); }

/* The post itself, written out so it can be read before it is sent. */
.gf-post {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; margin: 0 0 10px;
}
.gf-post__t { font: 600 15px/1.3 var(--display); letter-spacing: -0.012em; margin-bottom: 8px; }
.gf-post__b { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.gf-post__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gf-post__acts .gf-btn { width: auto; }

/* The record (/cases): the standing page's stamps, for recalls. */
.gf-record__ledger .gf-ledger__row { flex-wrap: wrap; row-gap: 2px; }
.gf-record__ledger .gf-ledger__row .gf-ledger__bar { flex: 0 0 auto; background: var(--dusk); }
.gf-record__ledger .gf-ledger__row .gf-ledger__bar--recorded { background: var(--dusk-light); }
.gf-record__what { font-size: 12.5px; color: var(--slate); }

/* The seller's home, phone pass. The sale on the seller's clock is a card of
   its own at the top: its clock, the address the tickets go to with Copy, and
   where it is in four steps. The side is the seller's own card, as buyers see
   it. */
.gf-now {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px 6px; margin: 18px 0 8px; box-shadow: 0 1px 2px rgba(16,21,26,.04), 0 8px 24px rgba(16,21,26,.05);
}
.gf-now__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.gf-now__k { font-size: 12.5px; font-weight: 600; color: var(--dusk-deep); }
.gf-now__clock { font: 800 26px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gf-now .gf-now__event { border: 0; padding: 0; margin: 0 0 6px; color: inherit; text-decoration: none; }
.gf-now__line { font-weight: 600; margin: 8px 0 12px; }
.gf-now .gf-addr { background: var(--paper); }
.gf-now__steps { margin-top: 12px; }
.gf-firstsale { padding: 18px; margin-top: 18px; }
.gf-firstsale .gf-btn { width: 100%; }
.gf-sellerhome .gf-col-side .gf-actions { margin: 0 0 14px; }
.gf-sellerhome .gf-col-side > .gf-fine { margin-top: 10px; }
.gf-sellerhome .gf-col-side .gf-btn { width: 100%; }

/* The buyer's payment, once the tickets are checked: the amount, where it
   goes with Copy, and the name to check. */
.gf-pay { background: var(--dusk-tint); border-radius: 12px; padding: 14px 16px 12px; margin: 0 0 16px; }
.gf-pay__k { font: 700 17px/1.3 var(--display); letter-spacing: -0.01em; margin-bottom: 10px; }
.gf-pay .gf-addr { border-color: transparent; }
.gf-pay__check { font-size: 13.5px; margin: 8px 0 0; }
/* Something a seller rarely needs, one tap away rather than always shown. */
.gf-more { margin: 0 0 8px; }
.gf-more summary { cursor: pointer; font: 500 14px var(--ui); color: var(--dusk-deep); padding: 6px 0; list-style: none; }
.gf-more summary::-webkit-details-marker { display: none; }
.gf-more[open] summary { margin-bottom: 8px; }
.gf-side-k { font-size: 12.5px; font-weight: 600; color: var(--slate); margin: 4px 0 8px; }
.gf-now__act { width: 100%; margin: 4px 0 6px; }
.gf-firstsale .gf-steps { margin-bottom: 14px; }
.gf-donerow { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.gf-donerow__name { font-weight: 600; font-size: 14.5px; }
.gf-donerow__amt { font-weight: 600; font-size: 14.5px; text-align: right; }
.gf-donerow__how { grid-column: 1 / -1; font-size: 12.5px; color: var(--slate); }
/* The claim step: what you are claiming, then one thing at a time. */
.gf-claimid { max-width: 460px; }
.gf-claimid__sale { display: block; font-size: 13px; color: var(--slate); text-decoration: none; margin: 0 0 14px; }
.gf-field > span { font-size: 13px; font-weight: 500; }
.gf-claimid__form .gf-btn { width: 100%; }
.gf-claimid .gf-sub a { color: var(--dusk-deep); white-space: nowrap; }
/* A season holder's next nights on the new-sale form: one tap fills it. */
.gf-nights { margin: 4px 0 18px; }
.gf-nights__k { font: 600 13px var(--ui); margin: 0 0 8px; }
.gf-nights__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.gf-night { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); text-decoration: none; }
.gf-night b { font: 600 14px var(--ui); }
.gf-night span { font-size: 12.5px; color: var(--slate); }
.gf-night--on { border-color: var(--dusk-deep); box-shadow: 0 0 0 1px var(--dusk-deep); }
/* A finished sale's small stamp: the wordmark file, never live letters. */
.gf-mini-mark { display: inline-block; height: 11px; width: auto; vertical-align: -1px; margin-right: 6px; }
.gf-donerow .gf-donerow__name, .gf-donerow .gf-donerow__amt { color: var(--ink); }

/* --- Instant, or slow on purpose ---------------------------
   docs/mockups/goodfolk-slow-lane.html. The held button is Goodfolk's own,
   in Dusk; Brim's is Field. The warning is a few plain lines, each a real
   risk, with a Dusk dot rather than an icon. */
.gf-hold {
  position: relative; display: block; width: 100%; overflow: hidden;
  border: 0; border-radius: 6px; background: var(--dusk-deep); color: var(--white);
  font: 600 15px var(--ui); padding: 15px 18px; cursor: pointer; text-align: center;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.gf-hold:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gf-hold__fill { position: absolute; inset: 0 auto 0 0; display: block; width: 0; background: rgba(255, 255, 255, .24); transition: width .1s linear; }
.gf-hold__label { position: relative; }
.gf-hold__fill[data-held="0"] { width: 0%; }
.gf-hold__fill[data-held="5"] { width: 5%; }
.gf-hold__fill[data-held="10"] { width: 10%; }
.gf-hold__fill[data-held="15"] { width: 15%; }
.gf-hold__fill[data-held="20"] { width: 20%; }
.gf-hold__fill[data-held="25"] { width: 25%; }
.gf-hold__fill[data-held="30"] { width: 30%; }
.gf-hold__fill[data-held="35"] { width: 35%; }
.gf-hold__fill[data-held="40"] { width: 40%; }
.gf-hold__fill[data-held="45"] { width: 45%; }
.gf-hold__fill[data-held="50"] { width: 50%; }
.gf-hold__fill[data-held="55"] { width: 55%; }
.gf-hold__fill[data-held="60"] { width: 60%; }
.gf-hold__fill[data-held="65"] { width: 65%; }
.gf-hold__fill[data-held="70"] { width: 70%; }
.gf-hold__fill[data-held="75"] { width: 75%; }
.gf-hold__fill[data-held="80"] { width: 80%; }
.gf-hold__fill[data-held="85"] { width: 85%; }
.gf-hold__fill[data-held="90"] { width: 90%; }
.gf-hold__fill[data-held="95"] { width: 95%; }
.gf-hold__fill[data-held="100"] { width: 100%; }
.gf-hold__hint { text-align: center; font-size: 12.5px; color: var(--slate); margin: 8px 0 0; }

.gf-warn { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 12px; }
.gf-warn li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.gf-warn li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dusk); margin-top: 7px; }
.gf-warn b { display: block; font-weight: 600; }
.gf-warn span { display: block; color: var(--slate); font-size: 13.5px; }

.gf-lane { font-size: 13px; color: var(--slate); margin: 0 0 14px; }
.gf-lane b { color: var(--ink); font-weight: 600; }

.gf-bankpath { font-size: 13px; color: var(--slate); margin: 8px 0 0; line-height: 1.5; }
.gf-bankpath b { color: var(--ink); font-weight: 500; }

.gf-choose { display: grid; gap: 8px; margin: 12px 0 14px; border: 0; padding: 0; }
.gf-choose label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 14.5px; cursor: pointer; }
.gf-choose label:has(input:checked) { border-color: var(--dusk-deep); box-shadow: 0 0 0 1px var(--dusk-deep); }
.gf-page .gf-choose input { width: 16px; height: 16px; padding: 0; flex: none; accent-color: var(--dusk-deep); }
.gf-page textarea { font: 400 15px var(--ui); padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); width: 100%; min-height: 76px; resize: vertical; }
.gf-page textarea:focus { outline: 2px solid var(--dusk-deep); outline-offset: 0; border-color: transparent; }
.gf-page input[type="file"] { padding: 10px; font-size: 14px; }

.gf-wrong { margin: 18px 0 0; text-align: center; }
.gf-wrong a { font-size: 13px; color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--line); }
.gf-hold-note { border-left-color: var(--coral); }

/* The seller card, compact: name, check and stamps, then one sentence. */
.gf-sellercard { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 14px 12px; margin-bottom: 14px; }
.gf-sellercard__top { display: flex; align-items: center; gap: 12px; }
.gf-sellercard__top .gf-stamps { margin-left: auto; cursor: default; }
.gf-sellercard__who { font-weight: 500; }
.gf-sellercard__line {
  display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 0 0 52px;
  font: 400 13px/1.45 var(--ui); color: var(--slate); cursor: pointer;
}
.gf-sellercard__line:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.gf-sellercard__line--plain { cursor: default; margin: 0; }
.gf-sellercard__facts { margin: 10px 0 0; }

.gf-setup .gf-addr { margin-top: 8px; }
.gf-setup .gf-step__d .gf-addr__v { font-size: 14px; }

.gf-actions--tight { padding-top: 12px; }
.gf-inline-form { display: inline; margin: 0; }
.gf-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--dusk-deep); cursor: pointer; text-decoration: underline; text-decoration-color: var(--dusk-pale); text-underline-offset: 3px; }
.gf-linkbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gf-page p.gf-now__k { margin: 0 0 6px; }

.gf-two > *, .gf-three > * { min-width: 0; }
.gf-page input[type="date"], .gf-page input[type="time"] { min-width: 0; }
.gf-page select { height: 49px; padding-top: 0; padding-bottom: 0; }
.gf-slowlink { margin: 0 0 22px; }
.gf-endnote { margin-bottom: 20px; }
.gf-share .gf-hold__hint { margin-bottom: 20px; }
.gf-sellercard__fact { white-space: nowrap; }
.gf-sellercard .gf-pop { border: 0; border-radius: 0; background: none; padding: 0; margin: 12px 0 0; }
.gf-sellercard .gf-pop .gf-cred-list { border-top: 1px solid var(--line); }
.gf-confirm-slow .gf-linkbtn, .gf-wrong .gf-linkbtn { font-size: 14px; }
.gf-page input[type="file"]::file-selector-button {
  font: 600 14px var(--ui); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin-right: 10px; cursor: pointer;
}
.gf-two, .gf-three { align-items: start; }

/* ---------------------------------------------------------------------------
   Clear rules: verified payments said as promises, the two
   ways to be paid, the slow lane's box, the picked game, quantity chips,
   the answers to "Something's wrong", and the bank-record drop.
   --------------------------------------------------------------------------- */
.gf-promise { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.gf-promise li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.gf-promise li::before { content: ""; width: 22px; height: 9px; border-radius: 5px; background: var(--dusk); transform: rotate(-4deg); }
.gf-promise li:nth-child(3n+2)::before { width: 17px; background: var(--dusk-light); transform: rotate(3deg); }
.gf-promise li:nth-child(3n+3)::before { width: 20px; transform: rotate(-1.6deg); }

.gf-ways { display: grid; gap: 12px; margin: 6px 0 12px; }
.gf-way { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; }
.gf-way--verified { border-color: var(--dusk-deep); box-shadow: 0 0 0 1px var(--dusk-deep); }
.gf-way__top { display: flex; align-items: center; gap: 12px; }
.gf-way__t { font: 700 19px/1.2 var(--display); letter-spacing: -0.018em; }
.gf-way__top .gf-stamps { margin-left: auto; cursor: default; }
.gf-way .gf-promise { margin: 12px 0 16px; }
.gf-way--slow { background: transparent; }
.gf-way--slow .gf-way__t { font-size: 16px; color: var(--ink); }
.gf-way__line { font-size: 13.5px; color: var(--slate); margin: 6px 0 8px; }
.gf-way__link { font-size: 14px; font-weight: 500; }
.gf-stamps--art { cursor: default; }
.gf-stamps--art .gf-stamp { height: 10px; }
.gf-stamps--art .gf-stamp:nth-child(1) { width: 24px; }
.gf-stamps--art .gf-stamp:nth-child(2) { width: 18px; }
.gf-stamps--art .gf-stamp:nth-child(3) { width: 22px; }

/* The slow lane on a sale: a plain box with the stamps unlit. */
.gf-lanebox { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; background: var(--white); }
.gf-lanebox__top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.gf-lanebox__t { font: 600 14.5px var(--ui); }
.gf-lanebox__top .gf-stamps { margin-left: auto; }
.gf-lanebox p { margin: 0; font-size: 13px; color: var(--slate); line-height: 1.5; }

/* The seller's Interac email, filled in, with a way to change it. */
.gf-payrow { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; }
.gf-payrow__k { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--slate); font-weight: 500; margin-bottom: 2px; }
.gf-payrow__v { font: 600 16px/1.3 var(--display); letter-spacing: -0.012em; word-break: break-all; }

/* New sale: pick, then what's picked. */
.gf-picked { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: start; }
.gf-picked__t { font: 700 18px/1.2 var(--display); letter-spacing: -0.015em; }
.gf-picked__d { grid-column: 1; font-size: 13.5px; color: var(--slate); }
.gf-picked__change { grid-column: 2; grid-row: 1; font-size: 13px; font-weight: 500; }
.gf-picked--seats { padding: 12px 16px; }
.gf-picked--seats .gf-picked__t { font: 600 15px/1.3 var(--ui); letter-spacing: 0; }
.gf-picked details { grid-column: 1 / -1; }
.gf-picked details summary { list-style: none; cursor: pointer; }
.gf-picked details summary::-webkit-details-marker { display: none; }
.gf-picked details[open] .gf-three { margin-top: 12px; }
.gf-teams { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.gf-team { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); text-decoration: none; font: 500 14px var(--ui); }
.gf-page a.gf-team { color: var(--ink); }
.gf-team--on { border-color: var(--dusk-deep); box-shadow: 0 0 0 1px var(--dusk-deep); }
.gf-else { font-size: 13.5px; margin: -6px 0 18px; }
.gf-legend { font-size: 13px; font-weight: 500; margin: 0 0 6px; padding: 0; }
.gf-qty { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.gf-qty label { position: relative; display: block; }
.gf-page .gf-qty input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gf-qty span { display: grid; place-items: center; min-width: 48px; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: 600 15px var(--ui); cursor: pointer; }
.gf-qty input:checked + span { border-color: var(--dusk-deep); box-shadow: 0 0 0 1px var(--dusk-deep); color: var(--dusk-deep); }
.gf-qty input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* "Something's wrong": one tap per answer. */
.gf-answers { display: grid; gap: 10px; margin: 18px 0 16px; }
.gf-answers form { margin: 0; }
.gf-page .gf-answer {
  display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
  padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  font: 500 15px var(--ui); color: var(--ink); cursor: pointer;
}
.gf-answer::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--slate); border-top: 2px solid var(--slate); transform: rotate(45deg); flex: none; margin-left: 12px; }
.gf-answer:hover { border-color: var(--dusk-deep); }
.gf-answer:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* The buyer's bank record. */
.gf-upload { display: grid; gap: 6px; padding: 16px; border: 1.5px dashed var(--dusk-pale); border-radius: 12px; background: var(--dusk-tint); margin: 0 0 12px; }
.gf-upload b { font-weight: 600; font-size: 14.5px; }
.gf-upload span { font-size: 12.5px; color: var(--slate); }
.gf-page .gf-upload input[type="file"] { width: 100%; padding: 6px 0 0; background: none; border: 0; }
.gf-lanebox__p { font-size: 13px; color: var(--slate); line-height: 1.5; }
.gf-picked__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gf-picked--seats .gf-picked__change { font-size: 13px; }
/* An unlit stamp stays unlit: the middle bar's lighter Dusk outranked
   .gf-stamp--off, so a seller with no proven sale showed one lit. */
.gf-stamps .gf-stamp--off { background: var(--line); }
.gf-qty { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.gf-qty span { min-width: 0; padding: 0; height: 44px; }
.gf-qty legend { grid-column: 1 / -1; }

/* "Your account is blocked.". */
.gf-blocked__facts { list-style: none; margin: 0 0 16px; padding: 0; }
.gf-blocked__facts li { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }
.gf-blocked__facts li:first-child { border-top: 0; }
.gf-blocked__facts li b { font-weight: 500; color: var(--slate); }
@media (max-width: 380px) { .gf-blocked__facts li { grid-template-columns: 1fr; gap: 2px; } }
.gf-blocked__notme > summary { list-style: none; display: inline-flex; }
.gf-blocked__notme > summary::-webkit-details-marker { display: none; }
.gf-blocked__notme[open] > summary { display: none; }
.gf-blocked__review { margin-top: 12px; }
.gf-blocked__review textarea { width: 100%; }
.gf-blocked__public { margin: 0 0 6px; }

/* "Bring your group.". */
.gf-newgroup > form, .gf-newgroup .gf-newgroup__built, .gf-newgroup .gf-newgroup__change { min-width: 0; }
.gf-newgroup__built[hidden] { display: none; }
.gf-newgroup__prev { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 0 0 12px; }
.gf-newgroup__name { font: 700 20px/1.1 var(--display); letter-spacing: -0.025em; margin: 0 0 2px; }
.gf-newgroup__kind { font-size: 12.5px; color: var(--slate); margin-bottom: 10px; }
.gf-newgroup__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 6px; }
.gf-newgroup__trio div { background: var(--paper); border-radius: 6px; padding: 10px 10px 8px; }
.gf-newgroup__trio b { display: block; font: 700 22px/1 var(--display); letter-spacing: -0.02em; margin-bottom: 4px; }
.gf-newgroup__trio span { font-size: 11.5px; color: var(--slate); line-height: 1.3; display: block; }
.gf-newgroup__slug { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 13.5px; padding-top: 10px; border-top: 1px solid var(--line); }
.gf-newgroup__slug b { font-weight: 500; font-family: var(--display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; text-align: right; font-size: 13px; }
.gf-newgroup__slug .gf-newgroup__changeword { font-size: 12.5px; color: var(--ink); text-decoration: underline; }
.gf-newgroup__change > summary { cursor: pointer; list-style: none; }
.gf-newgroup__change > summary::-webkit-details-marker { display: none; }
.gf-newgroup__slugedit { margin-top: 10px; }
.gf-newgroup__gets { list-style: none; margin: 0; padding: 0; }
.gf-newgroup__gets li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.gf-newgroup__gets li:first-child { border-top: 0; }
.gf-newgroup__gets li b { font-weight: 500; display: block; }
.gf-newgroup__gets li span { color: var(--slate); font-size: 12.5px; }

/* /admin/goodfolk, ID checks this month: the marker stays on one line at a
   phone width. */
.gf-idcheck-next { white-space: nowrap; }

/* Goodfolk's test mode: the striped band on every
   Goodfolk page while test mode is on for this person, so a screenshot can
   never pass for the real thing. Dusk Deep and Dusk stripes, white words. */
.gf-test-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; background: repeating-linear-gradient(135deg, #5367D2 0 10px, #6E7FD9 10px 20px); color: #fff; padding: 5px 14px; border-radius: 0 0 10px 10px; font: 600 11px var(--ui); }
.gf-test-band small { font: 500 10px var(--ui); color: #E6E9F7; }

/* /admin/goodfolk, Test mode: the switch. */
.gf-tm-sw { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gf-tm-sw__track { width: 40px; height: 22px; border-radius: 11px; background: #C9CCD1; position: relative; display: inline-block; border: 0; padding: 0; cursor: pointer; }
.gf-tm-sw__track i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.gf-tm-sw__track--on { background: var(--dusk-deep); }
.gf-tm-sw__track--on i { left: 21px; }
.gf-tm-sw__track[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.gf-tm-tester { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; border-top: 1px solid var(--line); padding: 8px 0; align-items: center; }
.gf-tm-tester small { grid-column: 1; font-size: 12px; color: var(--slate); overflow-wrap: anywhere; }
.gf-tm-tester b { overflow-wrap: anywhere; }
.gf-tm-tester form { grid-row: 1 / 3; grid-column: 2; }
/* 133h draws Remove as a word in Dusk Deep, not a button. */
.gf-tm-tester .gf-tm-remove { background: none; border: 0; padding: 4px 0 4px 8px; font: 500 12.5px var(--ui); color: var(--dusk-deep); cursor: pointer; }
/* Testers' Something's off notes on the admin's Test mode page. */
.gf-tm-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; border-top: 1px solid var(--line); padding: 10px 0; align-items: start; }
.gf-tm-note:first-child { border-top: 0; }
.gf-tm-note b { display: block; font: 600 13.5px var(--ui); overflow-wrap: anywhere; }
.gf-tm-note small { display: block; font-size: 12px; color: var(--slate); overflow-wrap: anywhere; }
.gf-tm-note .gf-tm-note__said { margin: 2px 0 4px; font: 400 13.5px/1.45 var(--ui); color: var(--ink); overflow-wrap: anywhere; }
.gf-tm-note--done { opacity: .6; }
.gf-tm-note .gf-tm-note__done { font-weight: 600; color: var(--slate); }
.gf-tm-fine { margin-top: 10px; }
.gf-tm-account { border: 2px solid var(--dusk-deep); }

/* Tickets pulled back after the buyer paid: the sale line over the
   headline, the comfort line in Ink, three numbered steps with the live one
   ringed in Dusk Deep, and Your questions opening underneath. */
.gf-pb-top .gf-saleline { font-size: 12.5px; color: var(--slate); margin: 0 0 4px; }
.gf-pb-top .gf-sub { color: var(--ink); font-weight: 500; font-size: 15px; }
.gf-pb { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.gf-pb__step { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.gf-pb__step--now { border: 2px solid var(--dusk-deep); padding: 11px 13px; }
.gf-pb__n { width: 24px; height: 24px; border-radius: 50%; background: var(--dusk-tint); color: var(--dusk-deep); font: 700 12px var(--ui); font-style: normal; display: grid; place-items: center; }
.gf-pb__step--now .gf-pb__n, .gf-pb__step--done .gf-pb__n { background: var(--dusk-deep); color: #fff; }
.gf-pb__step b { display: block; font: 600 14px/1.4 var(--ui); color: var(--ink); }
.gf-pb__step small { display: block; font-size: 13px; color: var(--slate); line-height: 1.45; margin-top: 2px; }
.gf-pb__step .gf-btn { margin-top: 10px; }
.gf-page--split .gf-pb__step .gf-btn { min-width: 0; }
.gf-pbq { margin: 0 0 16px; }
.gf-pbq summary { cursor: pointer; list-style: none; text-align: center; font: 600 14px var(--ui); color: var(--dusk-deep); padding: 8px 0; }
.gf-pbq summary::-webkit-details-marker { display: none; }
.gf-pbq summary::after { content: " \2304"; }
.gf-pbq[open] summary::after { content: " \2303"; }
.gf-pbq__qa { border-bottom: 1px solid var(--line); padding: 12px 0; }
.gf-pbq__qa b { display: block; font: 600 14px/1.4 var(--ui); color: var(--ink); margin: 0 0 3px; }
.gf-pbq__qa p { margin: 0; font-size: 13.5px; color: var(--slate); line-height: 1.5; }
@media (min-width: 900px) {
  .gf-pbq summary { text-align: left; padding-top: 0; }
}
/* A transfer cancelled after the buyer paid:
   the clock in Field, the money in a Dusk Deep ring, the seller's line on
   Your page as a quiet card. */
.gf-pbclock { background: #EEF0FB; color: #15181C; border-radius: 14px; padding: 12px 14px; margin: 10px 0 4px; }
.gf-pbclock b { display: block; font: 800 26px/1.2 var(--display); color: #3B4DB8; }
.gf-pbclock small { font-size: 12.5px; color: #3A3F46; }
.gf-pbmoney { display: flex; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--dusk-deep); border-radius: 14px; padding: 12px; margin: 10px 0 0; }
.gf-pbmoney > b { font: 800 28px var(--display); color: var(--dusk-deep); }
.gf-pbmoney span { font-size: 13px; color: var(--ink); line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.gf-pbmoney small { display: block; font-size: 12px; color: var(--slate); margin-top: 3px; }
.gf-pbmoney .gf-copy { margin-left: 6px; }
.gf-pbone { font-size: 13.5px; color: var(--ink); line-height: 1.45; margin: 12px 0 0; }
.gf-pbdone { text-align: center; padding: 18px 0 6px; }
.gf-pbdone b { display: block; font: 800 24px/1.25 var(--display); color: var(--ink); margin-top: 8px; }
.gf-pbdone small { display: block; font-size: 13.5px; color: var(--slate); margin-top: 4px; }
.gf-pbdone i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dusk-deep); color: #fff; font-style: normal; font-size: 22px; }
.gf-pbmark { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 10px 12px; margin-top: 10px; }
.gf-pbmark b { display: block; font: 600 13.5px var(--ui); color: var(--ink); }
.gf-pbmark small { font-size: 12px; color: var(--slate); }

/* Goodfolk 12 for group admins, in admin. */
.gf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-chip { font: 600 12px var(--ui, Poppins, sans-serif); color: #4A5160; border: 1px solid #DCDCDA; border-radius: 8px; padding: 4px 9px; text-decoration: none; }
.gf-chip--on { background: #15181C; color: #fff; border-color: #15181C; }
.gf-gg-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #EDEDEB; padding: 9px 0; }
.gf-gg-row:first-child { border-top: 0; }
.gf-gg-row__main { min-width: 0; }
.gf-gg-row__main b { display: block; font-weight: 600; font-size: 13px; }
.gf-gg-row__main small { display: block; font-size: 12px; color: var(--slate, #69717F); overflow-wrap: anywhere; }
.gf-gg-row__main .gf-gg-row__given { color: #3B4DB8; }
.gf-gg-row__main .gf-gg-row__warn { color: #A4471F; }
.gf-gg-row form { flex: none; }

/* 141c to 141e: the redraw round. Timers are Dusk, never green. */
.gf-round__ev { font: 600 12px var(--ui); color: var(--slate, #69717F); margin: 0 0 6px; }
.gf-round__win { text-align: center; margin: 4px 0 6px; }
.gf-round__win .gf-s--big { width: 128px; font-size: 44px; margin: 0 auto 6px; }
.gf-round__lead { font-weight: 600; }
.gf-hx-clock { background: #EEF1FB; border-radius: 14px; padding: 12px 14px; margin: 8px 0 12px; }
.gf-hx-clock b { display: block; font: 800 26px var(--display); color: #3B4DB8; font-variant-numeric: tabular-nums; }
.gf-hx-clock small { font-size: 12px; color: #3A3F46; }
.gf-hx-clock progress { display: block; width: 100%; height: 5px; margin-top: 8px; border: 0; border-radius: 3px; background: #D5DBF4; overflow: hidden; -webkit-appearance: none; appearance: none; }
.gf-hx-clock progress::-webkit-progress-bar { background: #D5DBF4; border-radius: 3px; }
.gf-hx-clock progress::-webkit-progress-value { background: #3B4DB8; border-radius: 3px; }
.gf-hx-clock progress::-moz-progress-bar { background: #3B4DB8; border-radius: 3px; }
.gf-hx-flow { display: flex; align-items: flex-start; justify-content: space-between; margin: 16px 0 12px; }
.gf-hx-flow > em { font-style: normal; color: #A7B5EC; font-size: 22px; margin-top: 6px; }
.gf-hx-st { width: 31%; text-align: center; }
.gf-hx-st b { display: block; font: 600 12px var(--ui); margin-top: 6px; }
.gf-hx-st small { font-size: 11px; color: #6B7079; line-height: 1.3; display: block; }
.gf-hx-st .gf-s { width: 46px; margin: 0 auto; font-size: 14px; }
.gf-hx-st.is-done b { color: #8A8F96; }
.gf-hx-st.is-now b { color: #3B4DB8; }
.gf-hx-ic { display: flex; width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; background: #3B4DB8; color: #fff; align-items: center; justify-content: center; font-style: normal; font-weight: 700; }
.gf-hx-mini { display: flex; gap: 4px; align-items: center; min-height: 34px; justify-content: center; margin-top: 6px; }
.gf-hx-mini .gf-s { width: 30px; font-size: 10px; }
.gf-hx-tm { display: block; text-align: center; border: 1.5px solid var(--ink, #15181C); color: var(--ink, #15181C); border-radius: 12px; padding: 10px; font: 600 13px var(--ui); text-decoration: none; margin: 0 0 8px; }
.gf-round__pass { text-align: center; font-size: 13px; margin: 10px 0 0; }
.gf-round__pass button { background: none; border: 0; padding: 0; font: 600 13px var(--ui); color: #5367D2; cursor: pointer; }
.gf-round__pass form { display: inline; }
/* G48's thank-you, G55's ask before Pass them on. */
.gf-given__thanks { font-weight: 600; color: #3B4DB8; margin: 6px 0 10px; }
.gf-round__ask > summary { list-style: none; cursor: pointer; }
.gf-round__ask > summary::-webkit-details-marker { display: none; }
.gf-round__sheet { background: #fff; border: 1px solid #DCDCDA; border-radius: 16px; padding: 14px 16px; margin-top: 10px; text-align: left; }
.gf-round__sheet h2 { font-size: 18px; margin: 0 0 4px; }
.gf-round__sheet p { margin: 0 0 12px; }
.gf-round__keep { display: block; text-align: center; margin-top: 10px; font-weight: 600; color: #15181C; }

/* Goodfolk's chrome is Dusk, never Field. The avatar and the signed-out Sign
   in, on every Goodfolk page. */
.gf-surface .avatar { background: #5367D2; color: #FFFFFF; }
.gf-surface .topbar a.link, .gf-surface header a.link { color: #5367D2; }

/* Link your Reddit by three words. */
.gf-reddit__card { display: grid; gap: 14px; padding: 20px; }
.gf-reddit__card .gf-lede { margin: 0; }
.gf-reddit__card .gf-sub { margin: 0; }
.gf-reddit__u { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 0 0 0 12px; background: var(--white); }
.gf-reddit__u > span { color: var(--slate); font-weight: 500; }
.gf-page .gf-reddit__u input { border: 0; flex: 1 1 auto; min-width: 0; padding-left: 0; }
.gf-reddit__words { background: var(--dusk-tint, #EEF0FB); border-radius: 12px; padding: 14px; display: grid; gap: 8px; text-align: center; }
.gf-reddit__words b { font-size: 18px; color: var(--dusk-deep, #5367D2); font-weight: 700; overflow-wrap: anywhere; }
.gf-reddit__steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.gf-reddit__acts { display: grid; gap: 8px; }
.gf-reddit__acts .gf-btn, .gf-reddit__acts form .gf-btn, .gf-reddit__name .gf-btn { width: 100%; text-align: center; }
.gf-reddit__ok { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--white); }
.gf-reddit__r { width: 36px; height: 36px; border-radius: 50%; background: var(--dusk-tint, #EEF0FB); color: var(--dusk-deep, #5367D2); display: grid; place-items: center; font-weight: 700; flex: none; }
.gf-reddit__again { justify-self: center; }

/* Show on every password field: Goodfolk's colour. */
.gf-page .pw > input:not([type="checkbox"]) { padding-right: 76px; }
.gf-page .pw-show { color: var(--dusk-deep); }
.gf-page .pw-show:hover { background: var(--dusk-tint); }
.gf-page .pw-show:focus-visible { outline-color: var(--dusk-deep); }

/* The giver's moment (docs/mockups/giver-moment.html). One
   line and one action per screen. Motion only for people who haven't asked
   for less; everything here is still under prefers-reduced-motion. */
.gf-giver__ey { font-size: 12px; color: var(--slate); font-weight: 500; margin: 0 0 8px; }
.gf-giver__big { font: 900 28px/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 18px; }
.gf-giver__big--c { text-align: center; }
.gf-asked { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.gf-asked b { font: 600 16px var(--ui); }
.gf-asked span { font-size: 13px; color: var(--slate); }
.gf-faces { display: flex; padding-left: 8px; min-height: 40px; }
.gf-face { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--white); margin-left: -8px; display: grid; place-items: center; color: #fff; font: 700 14px var(--ui); font-style: normal; background: var(--dusk-deep); }
.gf-face--0 { background: #C2627A; } .gf-face--1 { background: #2F8F86; } .gf-face--2 { background: #B7791F; }
.gf-face--3 { background: #5367D2; } .gf-face--4 { background: #8A5AB8; } .gf-face--5 { background: #3D7FB8; }
.gf-face--1st { animation-delay: 0s; } .gf-face--2nd { animation-delay: .15s; } .gf-face--3rd { animation-delay: .3s; }
.gf-face--4th { animation-delay: .45s; } .gf-face--5th { animation-delay: .6s; } .gf-face--6th { animation-delay: .75s; }
.gf-win { display: grid; justify-items: center; gap: 8px; padding-top: 6px; margin-bottom: 18px; }
.gf-win .gf-giver__big { margin: 0; }
.gf-win__face { width: 84px; height: 84px; font-size: 32px; border: 0; margin: 0; box-shadow: 0 0 0 7px #EEF0FB; }
.gf-win__from { font-size: 13px; color: var(--slate); }
.gf-giver__acts { display: grid; gap: 8px; margin-top: 14px; }
.gf-giver__acts .gf-btn { white-space: nowrap; }
.gf-quiet-link { font: 500 14px var(--ui); color: var(--dusk-deep); background: none; border: 0; padding: 6px; cursor: pointer; text-align: center; text-decoration: none; display: block; white-space: nowrap; }
.gf-takeback { margin-top: 10px; }
.gf-takeback > summary { list-style: none; font: 500 14px var(--ui); color: var(--dusk-deep); text-align: center; padding: 8px; cursor: pointer; }
.gf-takeback > summary::-webkit-details-marker { display: none; }
.gf-takeback__body { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.gf-takeback__body p { margin: 0; font-size: 13px; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .gf-face { animation: gf-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
  .gf-win__face { animation: gf-pop .7s cubic-bezier(.2, 1.6, .4, 1) .2s both; }
  @keyframes gf-pop { from { transform: scale(0); } }
}

/* Screen 3: the gift accepted, a full Dusk screen. */
body:has(.gf-moment) { background: var(--dusk-deep); }
/* As drawn: on the Dusk screen the lockup and the avatar turn white. */
body:has(.gf-moment) .mast__brand svg rect, body:has(.gf-moment) .mast__brand svg path { fill: #fff; }
body:has(.gf-moment) .mast .gf-avatar { background: #fff; color: var(--dusk-deep); }
body:has(.gf-moment) .mast .link, body:has(.gf-moment) .sitefoot a { color: #E6E9FA; }
.gf-moment { background: var(--dusk-deep); color: #fff; min-height: calc(100svh - 120px); display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; padding: 28px 0 32px; }
.gf-moment__stage { position: relative; display: grid; place-items: center; width: 100%; max-width: 340px; height: 210px; overflow: hidden; }
.gf-gseal { width: 240px; height: auto; position: relative; z-index: 2; transform: rotate(-4deg); }
.gf-drift { position: absolute; z-index: 0; bottom: -6px; width: 22px; height: 14px; border-radius: 4px; background: #C3C9EE; opacity: 0;
  -webkit-mask: radial-gradient(circle 3px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 3px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 3px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 3px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.gf-drift--1 { left: 12%; } .gf-drift--2 { left: 30%; background: #fff; } .gf-drift--3 { left: 55%; }
.gf-drift--4 { left: 72%; background: #fff; } .gf-drift--5 { left: 86%; }
.gf-moment__big { font: 900 32px/1.1 var(--display); letter-spacing: -0.02em; margin: 0; color: #fff; }
.gf-moment__line { font-size: 15px; color: #E6E9FA; margin: 0; }
.gf-moment__tally { background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: #E6E9FA; }
.gf-moment__tally b { font: 900 28px var(--display); color: #fff; }
.gf-moment__acts { display: grid; gap: 6px; width: 100%; max-width: 360px; margin-top: 10px; }
.gf-page .gf-moment .gf-btn--white, .gf-moment .gf-btn--white { background: #fff; color: var(--dusk-deep); white-space: nowrap; }
.gf-page .gf-moment .gf-quiet-link, .gf-moment .gf-quiet-link { color: #fff; }
.gf-moment .gf-fine { color: #E6E9FA; }
.gf-moment__mark .gf-lockup-w { height: 18px; width: auto; }
@media (prefers-reduced-motion: no-preference) {
  .gf-gseal__press { transform-origin: 120px 75px; animation: gf-stamp2 1s cubic-bezier(.45, 0, .2, 1) .2s both, gf-breathe 4s ease-in-out 1.3s infinite; }
  .gf-gseal__shine { animation: gf-shine 3.6s ease-in-out 1.4s infinite; }
  .gf-drift { animation: gf-drift 5.5s linear infinite; }
  .gf-drift--1 { animation-delay: 1.2s; } .gf-drift--2 { animation-delay: 2.4s; } .gf-drift--3 { animation-delay: 1.8s; }
  .gf-drift--4 { animation-delay: 3.6s; } .gf-drift--5 { animation-delay: 3s; }
  @keyframes gf-stamp2 { 0% { transform: scale(1.4); opacity: 0; } 55% { transform: scale(.94); opacity: 1; } 75% { transform: scale(1.02); } 100% { transform: none; } }
  @keyframes gf-breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.025) rotate(.8deg); } }
  @keyframes gf-shine { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(340px); } }
  @keyframes gf-drift { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-200px) rotate(40deg); opacity: 0; } }
}

/* Screen 5: Good folk in the group's admin panel. Admin only. */
.gf-gfbox { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; background: linear-gradient(180deg, #EEF0FB, var(--white) 60%); margin: 0 0 var(--s6); }
.gf-gfbox__h { display: flex; gap: 8px; align-items: center; }
.gf-gfbox__h b { font: 900 17px var(--display); }
.gf-gfbox__h span { margin-left: auto; font-size: 12.5px; color: var(--slate); }
.gf-gfrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.gf-gfrow .gf-face { margin: 0; border: 0; }
.gf-gfrow b { display: block; font-size: 13.5px; }
.gf-gfrow span { font-size: 12px; color: var(--slate); }
.gf-gfrow form { margin: 0; }
.gf-gfrow__done { font: 600 13px var(--ui); color: #1F7A4D; white-space: nowrap; }
.gf-gfbox__foot { font-size: 13px; color: var(--slate); margin: 0; }

/* Say thanks: a picked line or their own, and the giver's card showing it. */
.gf-thanks { display: grid; gap: 10px; }
.gf-pick { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.gf-pick:has(input:checked) { border-color: var(--dusk-deep); box-shadow: inset 0 0 0 1px var(--dusk-deep); }
.gf-thanks textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.gf-thanks-note { display: grid; gap: 6px; }
.gf-thanks-note__text { font-size: 17px; margin: 0; }

.gf-store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.gf-store-badge img { display: block; height: 40px; width: auto; }
.gf-store-badge--play img { height: 58px; margin: -9px -10px; }
