/* /thanksgiving/ and /t/ (Thanksgiving 2026). Fable's design, round 3
   (/mnt/volume-sfo2-01/scratch/s3-tools/thanksgiving-1026/r3/DESIGN-r3.md, 10-26; Daniel 4:49 pm
   "Why is it so bland? ... Where's the theme?"): the round-2 hero photograph stays; from it down the
   page is the barn-wood table and every card on it is kraft paper with a leather rule. The
   materials, faces and tokens live in tg-theme.css (shared with the door and the raffle screen). */
:root { --poster-rule: var(--leather-600); }

/* ── the hero (r2): one photograph, shaped like the camp hero card on /events/ ── */
.tg-page { padding-bottom: 8px; }
.tg-band { padding: 16px 16px 0; background: transparent; }
.tg-hero {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end;
  /* 420 on phones (hero trim v2, Fable 10-27): both ticket tiles above the fold at 440x956 and 390x844 */
  max-width: 960px; min-height: 420px; margin: 0 auto; border-radius: var(--radius-card);
  background: #2a1d10; color: #fff; box-shadow: var(--shadow-deep); border: 2px solid var(--leather-600);
}
/* the ranch at sunset (Daniel 3:45 pm): mesas and sun top-left, the table right; the crop keeps the
   sun in on a tall phone card and the copy sits bottom-left over the dark ground */
.tg-hero-photo, .tg-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tg-hero-photo { z-index: 0; }
.tg-hero-photo img { object-fit: cover; object-position: 22% 50%; }
.tg-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.66) 52%, rgba(10, 10, 11, 0) 86%);
}
.tg-hero-copy { position: relative; z-index: 2; width: 100%; padding: 20px; }
.tg-mono { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.tg-title { font-family: var(--font-poster); font-weight: 400; color: #fff; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; margin: 0; }
/* 8vw: measured, THANKSGIVING in the slab fits the copy box at 320 (234 of 238 px), 390 and 440 */
.tg-title .l1 { display: block; font-size: clamp(1.5rem, 8vw, 4.5rem); white-space: nowrap; }
.tg-title .l2 { display: block; font-size: clamp(1.1rem, 4.6vw, 2.5rem); margin-top: 4px; color: var(--accent-glow, #ecc35c); }
.tg-title .l1, .tg-title .l2 { animation: tgWord 520ms var(--ease-glide) backwards; }
.tg-title .l2 { animation-delay: 110ms; }
@keyframes tgWord { from { opacity: 0; transform: translateY(12px); } }
.tg-banner { color: var(--accent-glow, #ecc35c); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; margin: 12px 0 0; }
.tg-when { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; color: #fff; margin: 14px 0 2px; }
.tg-where { color: rgba(255, 255, 255, 0.78); margin: 0; letter-spacing: 0.16em; }
.tg-where .nb, .tg-when .nb { white-space: nowrap; }
/* the narrowest phones: each phrase on its own line, never a dot left hanging at the end of one (walkfix 10-26 item 5) */
@media (max-width: 359px) {
  .tg-where .nb, .tg-when .nb { display: block; } .tg-where .sep, .tg-when .sep { display: none; }
}
/* on its own dark plate, never straight on the barnwood (Daniel 10-26 9:48 pm: "it kind of blends into the background") */
.tg-what { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--sky-top); margin: 16px auto 0; max-width: 560px; text-align: center;
  padding: 12px 16px; background: #1f130b; border: 1px solid rgba(201, 150, 42, 0.45); border-radius: 14px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.7); }
.tg-cta.is-quiet { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; border: 1.5px solid rgba(255, 255, 255, 0.55); }
/* iPad and up (walkfix 10-26 item 8): ONE column, 640 wide with its 16 px gutters, so the hero, the dinner line and
   every card share the same edges; no wide hero over a narrow card with bare wood beside it. 4:3 like the photo. */
@media (min-width: 720px) {
  .tg-band { padding: 24px 16px 0; }
  .tg-hero { max-width: 608px; aspect-ratio: 4 / 3; min-height: 0; }
  .tg-hero-photo img { object-position: 50% 42%; }
  .tg-hero-copy { padding: 28px; }
  /* THANKSGIVING is about 9.1 em wide in the slab: 56 px fits the 548 px copy box */
  .tg-title .l1 { font-size: 3.5rem; }
  .tg-title .l2 { font-size: 2.1rem; }
  .tg-what { max-width: 608px; }
  .tg-cta { display: flex; width: 100%; }
}

/* ── the cards on the table: kraft, a 2 px leather rule, the deep shadow ─── */
.tg-main { padding: 8px 0 40px; background: transparent; }
.tg-main > .container { max-width: 640px; padding-left: 16px; padding-right: 16px; }
.tg-card {
  position: relative;
  background-color: var(--kraft-200);
  border: 2px solid var(--leather-600);
  border-radius: 4px;
  box-shadow: var(--shadow-deep);
  padding: 24px 20px;
  margin: 20px 0 0;
  color: var(--ink-kraft);
}
.tg-card h2, .tg-h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.05; margin: 0; color: var(--ink-kraft); }
.tg-card .tg-mono, .tg-kicker { color: var(--saddle); }
.tg-kicker { margin: 6px 0 0; }
.tg-note { color: var(--saddle); font-size: 16px; line-height: 1.5; margin: 12px 0 0; }

/* the events.js form, drawn inside the ticket card: its own card chrome off */
#tickets .events-form { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; max-width: none; }
/* the header strip (r3 §3.1): the lantern table under a dark scrim, TICKETS in the slab, the price on a leather chip */
#tickets .event-stub {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  height: 88px; margin: -24px -20px 18px; padding: 0 16px 14px 20px; border: 0; border-bottom: 2px solid var(--leather-600);
  box-shadow: none; text-align: left; overflow: hidden; background-position: center 60%;
}
#tickets .event-stub::before { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(to top, rgba(59, 29, 20, 0.8), rgba(59, 29, 20, 0) 85%); }
#tickets .event-stub::after { display: none; }
#tickets .event-stub > * { position: relative; }
#tickets .ev-head h2 { font-family: var(--font-poster); font-weight: 400; font-size: 22px; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; margin: 0; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
#tickets .event-date {
  /* 13 / 11: the mono's trailing letter-spacing would leave the ink a pixel left of centre */
  display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0 11px 0 13px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(240, 195, 90, 0.45); color: var(--sky-top);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
#tickets .event-stub .amount-head { display: none; }
/* the price is in the hero's button and the total; the card head says only TICKETS (walkfix 10-26 item 3) */
#tickets .event-stub .event-date { display: none; }
/* the card a raffle paid here turns into (kraft, the page's own voice) */
.tg-rafdone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 4px 0 2px; }
.tg-rafdone[hidden] { display: none; }
.tg-rafdone:focus { outline: none; }
.rd-eyebrow { color: var(--saddle); margin: 0; }
.rd-line { font-size: 30px; line-height: 1.05; color: var(--ink-kraft); margin: 4px 0 0; text-transform: uppercase; }
.rd-count { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink-kraft); margin: 8px 0 0; }
.rd-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink-kraft); margin: 0; overflow-wrap: anywhere; }
.rd-name:empty { display: none; }
.rd-note { font-size: 16px; line-height: 1.5; color: var(--saddle); margin: 6px 0 0; max-width: 340px; }
.rd-paid { color: var(--saddle); margin: 4px 0 0; }
.tg-rafdone .rd-more { max-width: 360px; margin-top: 12px; }
/* the dinner full while the raffle still sells: the line sits on top of the card, the header under it */
#tickets .tg-full.is-top { margin: -24px -20px 0; border-bottom: 2px solid var(--leather-600); }
#tickets .tg-full.is-top + .events-form .event-stub { margin-top: 0; }
#tickets .ev-qty { margin-top: 8px; }
#tickets .tg-ticket-head { margin-bottom: 4px; }

/* ── the pay block (FABLE-DESIGN-r2 §2): wallet, then Cash App | Card, then the step ── */
.tg-pay { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.tg-form .receipt-identity { display: none !important; }
/* the one wallet: Apple Pay on Apple devices, Google Pay elsewhere, in a well (UI-REIMAGINE §2). The vendor
   button is never styled, only the well around it; while Square mounts it the well holds a quiet kraft-white
   placeholder (no spinner, never a black bar); with no wallet the well and the OR fold away. */
.tg-pay #wallet-wrap { padding: 8px; border-radius: var(--r-tile); background: rgba(42, 23, 8, 0.08); border: 1px solid rgba(42, 23, 8, 0.14); }
.tg-pay #wallet-row { display: block; position: relative; height: 48px; overflow: hidden; transition: height 200ms var(--ease); }
.tg-pay #wallet-row > .wallet-slot { display: none !important; }
.tg-pay #wallet-row > .wallet-slot[data-wallet-state="live"] { display: block !important; width: 100%; height: 48px; min-height: 48px; border-radius: 14px; }
.tg-pay #wallet-row:not([data-wallet="live"])::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: var(--control-bg); opacity: 0.5; }
.tg-pay #wallet-row[data-wallet="none"] { height: 0; }
.tg-pay #wallet-row[data-wallet="none"]::before { content: none; }
.tg-pay #wallet-wrap:has(#wallet-row[data-wallet="none"]) { margin-bottom: -12px; padding: 0; border: 0; background: none; }
.tg-pay #wallet-wrap:has(#wallet-row[data-wallet="none"]) + .tg-or { display: none; }
/* no wallet but a line to say ("Name every guest to pay."): the well keeps its place, so the line has the block's 12 px
   above the pills instead of sitting on them (final walk 10-27, item 6) */
.tg-pay #wallet-wrap:has(#wallet-row[data-wallet="none"]):has(.wallet-reason:not(:empty)) { margin-bottom: 0; }
.tg-pay #apple-pay { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; border: 0; }
@supports not (-webkit-appearance: -apple-pay-button) { .tg-pay #apple-pay { background: var(--kraft-300); } }
.tg-pay #google-pay { height: 48px; }
.tg-pay .wallet-reason:empty { display: none; }
.tg-pay .wallet-reason { color: var(--saddle); font-size: 16px; margin: 8px 0 0; text-align: center; }

.tg-method { display: flex; flex-direction: column; gap: 12px; }
.tg-pay #cash-row { display: block; margin: 0; }
.tg-pay #cash-row[hidden] { display: none; }
.tg-pay #cash-row .wallet-slot { width: 100%; height: 56px; min-height: 56px; }
.tg-pay .card-note:empty { display: none; }
.tg-pay #ev-wallet-finish[hidden] { display: none; }
.tg-pay .form-status:empty { display: none; }
.tg-pay .form-status { margin: 0; font-size: 16px; color: var(--saddle); text-align: center; }
.tg-policy { color: var(--saddle); font-size: 16px; line-height: 1.5; margin: 4px 0 0; text-align: center; }

/* sold out (only once the server has stopped sales) */
.tg-full { text-align: left; padding: 24px; }
#tickets .tg-full { margin: -24px -20px; }
.tg-full h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 8px; color: var(--ink-kraft); }
.tg-full p { font-size: 16px; color: var(--saddle); margin: 0; }

/* raffle card */
/* the raffle card on /thanksgiving/ (Daniel 10-27 3:49 pm "no buy button"): the ticket page's raffle header, one line, one brass pill */
.tg-raffle { display: block; }
#tickets:not([hidden]) ~ #raffle { display: none; }
.tg-raffle .t-raffle-strip { margin: 0 -20px 18px; }
.tg-raffle-line { font-size: 17px; line-height: 1.5; color: var(--ink-kraft); margin: 0; }
.tg-raffle .tg-raffle-buy { margin-top: 18px; }
.tg-raffle .tg-prize-rail:not([hidden]), .tg-raffle #tg-prizes-kicker:not([hidden]) { margin-top: 14px; }
.tg-prize-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 6px -20px 0; padding: 0 20px 6px; scrollbar-width: none; }
.tg-prize-rail[hidden] { display: none; }  /* the empty rail kept its margin + padding and a grid gap: 40 px of dead space (10-27) */
.tg-prize-rail::-webkit-scrollbar { display: none; }
.tg-prize { flex: 0 0 72%; scroll-snap-align: start; border: 2px solid var(--leather-600); border-radius: var(--radius-tile); overflow: hidden; background: #fff; }
.tg-prize img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tg-prize b { display: block; font-family: var(--font-display); font-size: 18px; padding: 10px 12px 2px; }
.tg-prize span { display: block; padding: 0 12px 12px; }

/* what to expect */
.tg-expect { list-style: none; margin: 16px 0 0; padding: 0; }
.tg-expect li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--rule-kraft); }
.tg-expect li:first-child { border-top: 0; padding-top: 4px; }
/* the badges are brass rings (r3 §3.5) */
.tg-badge { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brass-500); display: flex; align-items: center; justify-content: center; color: var(--leather-600); background: rgba(240, 195, 90, 0.12); }
.tg-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tg-expect b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink-kraft); line-height: 1.3; }
.tg-expect li > div > span { display: block; color: var(--saddle); font-size: 16px; line-height: 1.5; margin-top: 2px; }

/* where and when */
.tg-facts { margin: 14px 0 0; }
.tg-facts dt { margin: 16px 0 4px; color: var(--saddle); }
.tg-facts dt:first-child { margin-top: 0; }
.tg-facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink-kraft); line-height: 1.3; }
.tg-facts dd small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 16px; color: var(--saddle); margin-top: 2px; }
.tg-map { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; padding: 0 18px; border-radius: var(--radius-pill); border: 2px solid var(--leather-600); color: var(--ink-kraft); text-decoration: none; font-weight: 600; font-size: 16px; }
.tg-facts dd .tg-who { font-size: 16px; color: var(--ink-kraft); }

/* find my ticket */
.tg-find { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin: 28px auto 0; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); font-weight: 600; background: none; border: 0; font-size: 16px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.tg-mine { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--leather-800); color: var(--sky-top); border: 2px solid var(--leather-600); box-shadow: var(--shadow-deep); border-radius: var(--radius-card); padding: 16px 18px; margin: 20px 0 0; }
.tg-mine b { font-family: var(--font-display); font-size: 18px; }
.tg-mine span { color: var(--sky-mid); grid-column: 1; }
.tg-mine a { grid-row: 1 / span 2; grid-column: 2; }   /* "Open ticket": minted brass (tg-theme.css), sized below */
dialog.tg-sheet { border: 0; padding: 0; width: min(100%, 520px); max-width: 100%; margin: auto auto 0; border-radius: 20px 20px 0 0; background: var(--cream); color: var(--ink); }
dialog.tg-sheet::backdrop { background: rgba(13, 21, 38, 0.55); }
.tg-sheet-in { padding: 22px 16px calc(22px + var(--safe-b)); }
/* the sheet headings in the poster slab, like every other Thanksgiving heading (tg-audit-1028) */
.tg-sheet h2 { font-family: var(--font-poster); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 14px; }
.tg-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; padding: 0 18px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius-tile); background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.tg-code-form { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.tg-sheet .tg-err { color: #b42318; font-size: 16px; margin: 4px 0 0; min-height: 1.2em; }
.tg-sheet-close { display: block; margin: 8px auto 0; min-height: 44px; background: none; border: 0; color: var(--fg-quiet); font-size: 16px; }

/* ── 4. the ticket (r3 §4): a kraft stub with the lantern photo band, on the wood ── */
.tg-tickets { margin: 20px 0 0; }
.tk-head { text-align: center; margin: 0 0 18px; padding: 0 16px; }
.tk-paid { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky-mid); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); margin: 0 0 8px; }
.tk-headline { font-size: 34px; margin: 0; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); }
/* the rail: each stub is the width less 44 px, so the next one peeks */
.tk-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 16px 10px; margin: 0 -16px; scroll-padding: 0 16px; }
.tk-rail::-webkit-scrollbar { display: none; }
.tk-item { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.tk-rail .tk-item:not(:only-child) { flex-basis: calc(100% - 44px); }
/* the shadow sits on a wrapper: the stub's own mask (the notches) would clip it */
.tk-shade { filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.tk {
  --ty: -100px;
  position: relative; text-align: center; color: var(--ink-kraft);
  border: 2px solid var(--leather-600); border-radius: 0;
}
.tk.is-notched {
  -webkit-mask: radial-gradient(circle 13px at 0 var(--ty), transparent 12.5px, #000 13.5px), radial-gradient(circle 13px at 100% var(--ty), transparent 12.5px, #000 13.5px);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 13px at 0 var(--ty), transparent 12.5px, #000 13.5px), radial-gradient(circle 13px at 100% var(--ty), transparent 12.5px, #000 13.5px);
  mask-composite: intersect;
}
.tk-photo { position: relative; height: 132px; background-position: center 60%; border-bottom: 2px solid var(--leather-600); }
.tk-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 23, 8, 0.82), rgba(42, 23, 8, 0) 62%); }
.tk-admit { position: absolute; left: 18px; bottom: 11px; z-index: 1; font-size: 22px; letter-spacing: 0.1em; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.tk-seal { position: absolute; right: 14px; bottom: 8px; z-index: 1; width: 48px; height: 48px; }
.tk-in { margin: 8px; border: 1px solid rgba(42, 23, 8, 0.38); padding: 16px 10px 18px; container-type: inline-size; }
.tk-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saddle); margin: 0 0 8px; line-height: 1.3; }
/* the slab word fits the stub at any width: 30 px, less on a narrow stub (THANKSGIVING is about 9.1 em wide) */
.tk-title { font-size: min(30px, 7.5vw); font-size: min(30px, 10.6cqi); color: var(--ink-kraft); margin: 0; white-space: nowrap; }
.tk-sub { font-size: 17px; color: var(--saddle); margin: 3px 0 0; }
.tk-banner { display: flex; align-items: center; gap: 10px; margin: 12px auto 0; max-width: 300px; }
.tk-banner-word { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; padding-left: 0.3em; text-transform: uppercase; white-space: nowrap; color: var(--saddle); line-height: 1.3; }
.tk-qr { width: min(240px, 100%); aspect-ratio: 1; margin: 16px auto 0; background: #fff; border: 2px solid var(--leather-600); border-radius: 8px; padding: 2px; }
.tk-qr svg { display: block; width: 100%; height: 100%; }
.tk.is-pending .tk-qr { opacity: 0.4; }
.tk-tear { height: 0; margin: 18px 10px 16px; border-top: 2px dashed var(--leather-600); }
.tk-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-kraft); margin: 0; overflow-wrap: anywhere; }
.tk-name.long { font-size: 24px; }
.tk-count { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--saddle); margin: 4px 0 0; }
.tk-meta { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saddle); margin: 8px 0 0; line-height: 1.3; }
@media (max-width: 400px) { .tk-meta { letter-spacing: 0.08em; } .tk-banner-word { letter-spacing: 0.22em; } }
.tk-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.tk-wallet img { height: 50px; width: auto; display: block; }
.tk-dots { display: flex; justify-content: center; gap: 8px; margin: 12px 0 0; }
.tk-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(253, 241, 216, 0.4); transition: background 150ms var(--ease); }
.tk-dots span.on { background: var(--sky-top); }
.tk-hint { text-align: center; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); font-size: 16px; line-height: 1.5; margin: 8px 8px 0; }
.tk-body { color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); font-size: 16px; line-height: 1.5; margin: 14px 0 6px; text-align: center; }
/* "Back to the event": a ghost text link under the pills (UI-REIMAGINE §2; on the wood it reads in cream) */
.tk-more { display: flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 8px; color: var(--sky-mid); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65); font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.tk-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--leather-800); color: var(--sky-top); border: 1px solid rgba(240, 195, 90, 0.45); padding: 12px 18px; border-radius: var(--radius-pill); font-size: 16px; pointer-events: none; transition: opacity 150ms var(--ease), transform 300ms var(--ease-glide); z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.tk-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* /t/ page: the wood from the nav down */
.t-page { min-height: 70vh; }
.t-wrap { max-width: 520px; margin: 0 auto; padding: 22px 16px 48px; }
.tk-missing { background-color: var(--kraft-200); border: 2px solid var(--leather-600); border-radius: 4px; box-shadow: var(--shadow-deep); padding: 24px 20px; color: var(--ink-kraft); }
.tk-missing h1 { font-family: var(--font-poster); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink-kraft); }
.tk-missing p { color: var(--saddle); margin: 0 0 14px; }
.tk-find { display: grid; gap: 10px; }

/* leader card on /t/ (door phone) */
.tk-leader { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; padding: 0 20px 20px; }
.dr-band { display: flex; align-items: center; gap: 14px; margin: 0 -20px 16px; padding: 16px 20px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }
.dr-band.ok { background: #1f7a3f; }
.dr-band.warn { background: #8a5a12; }
.dr-band.bad { background: #b42318; }
.dr-band.grey { background: #4b5160; }
.dr-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.dr-name { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.dr-count { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--gold-text); margin: 4px 0 0; }
.dr-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-quiet); margin: 8px 0 0; }
.dr-msg { color: var(--fg-quiet); margin: 10px 0 0; min-height: 1.4em; }
.dr-primary, .dr-secondary { width: 100%; min-height: var(--ctl-h-door); margin-top: 12px; }
/* door actions (UI-REIMAGINE §2): the check-in is the green pill; the way to the door page is the paper pill (tg-theme.css) */
.dr-go { background: var(--gate-green); color: #fff; border: 1px solid #155a2a; box-shadow: var(--shadow-leather); }

@media (min-width: 720px) { .tg-card { padding: 28px; } .tg-raffle .t-raffle-strip { margin: 0 -28px 18px; } }
@media (prefers-reduced-motion: reduce) {
  .tg-title .l1, .tg-title .l2 { animation: none; }
  .tg-cta, .tk-toast { transition: none; }
}

/* ── Cash App straight to the youth's own $cashtag (Daniel 10-26 4:49 / 4:57 pm): one green button,
   then a waiting card with the note reference; the tickets replace it when the money is seen ── */
.tg-waiting #events-form { display: none !important; }
.tg-cashwait[hidden] { display: none; }
.tg-cashwait { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 4px 0 0; }
.cw-eyebrow { color: var(--saddle); margin: 0; }
.cw-amount { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.02em; color: var(--ink-kraft); margin: 0; }
.cw-say { font-size: 18px; line-height: 1.45; color: var(--ink-kraft); margin: 6px 0 0; max-width: 330px; }
.cw-ref { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: 0.08em; background: var(--kraft-100); border: 1px solid var(--rule-kraft); padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
/* the dot is inline, in front of the first word, so when the line wraps (320) it stays with the centred text */
.cw-state { display: block; text-align: center; font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink-kraft); margin: 10px 0 0; max-width: 340px; }
.cw-dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; vertical-align: 0.07em; border-radius: 50%; background: #00d64f; animation: cwPulse 1.4s ease-in-out infinite; }
.cw-state.is-late .cw-dot { background: var(--accent); animation: none; }
.cw-state.is-bad { color: var(--gate-red); }
.cw-state.is-bad .cw-dot { background: var(--gate-red); animation: none; }
@keyframes cwPulse { 50% { opacity: 0.35; transform: scale(0.8); } }
@media (prefers-reduced-motion: reduce) { .cw-dot { animation: none; } }
.cw-help { color: var(--saddle); font-size: 16px; line-height: 1.5; margin: 0; max-width: 330px; }
.cw-who { color: var(--saddle); font-size: 16px; line-height: 1.5; margin: 2px 0 0; max-width: 330px; }
.cw-who:empty { display: none; }
.cw-again { color: var(--ink-kraft); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; padding: 12px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.tg-cashwait .cw-back[hidden], .cw-again[hidden], .tg-cashwait .cw-copy[hidden], .tg-cashwait .cw-say[hidden], .tg-cashwait .cw-amount[hidden] { display: none; }
/* the first open, once the order is taken: the green Cash App button (GPT r6 #3) */
.tg-cashwait .cw-open[hidden] { display: none; }

/* ── THE RAFFLE CARD on the ticket page (Fable 10-27, raffle card rethought; Daniel 10-27 7:02 pm "all sorts of numbers",
   7:13 pm no ticket numbers: the draw picks a person by name). Kraft card, the leather strip with the title only, one
   big count, one sentence, one brass "Get more raffle tickets" that opens the same buy card inside. The strip and its
   price chip are shared with the /thanksgiving/ raffle section. */
.t-raffle { padding-top: 0; }
.t-raffle-strip { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; height: 88px; margin: 0 -20px; padding: 0 16px 14px 20px;
  border-bottom: 2px solid var(--leather-600); background-position: center 35%; overflow: hidden; }
/* the gilded edge: a 1 px brass line under the 2 px leather rule ties the strip to the brass of the ticket and the button */
.t-raffle:not(.tg-raffle) .t-raffle-strip { box-shadow: 0 2px 0 0 rgba(201, 150, 42, 0.45); }   /* ticket page only */
.t-raffle-strip::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(59, 29, 20, 0.85), rgba(59, 29, 20, 0.35)); }
.t-raffle-strip > * { position: relative; }
.t-raffle-strip h2 { font-family: var(--font-poster); font-weight: 400; font-size: 22px; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; margin: 0; color: var(--sky-top); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
/* the price chip on the strip: the /thanksgiving/ raffle section only ("From $5"); the ticket page's card has none */
.t-raffle .t-raffle-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px 0 13px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(240, 195, 90, 0.45); color: var(--sky-top); font-weight: 700; letter-spacing: 0.18em; }
.t-raffle-chip:empty { display: none; }
.t-raffle-toast { margin: 0 -20px; padding: 0 16px; min-height: 44px; display: flex; align-items: center; background: var(--leather-600); color: var(--sky-top);
  font-weight: 600; font-size: 16px; line-height: 1.35; cursor: pointer; animation: tRaffleDrop 300ms var(--ease-land) backwards; transition: opacity 200ms ease; }
.t-raffle-toast[hidden] { display: none; }
.t-raffle-toast.is-out { opacity: 0; }
@keyframes tRaffleDrop { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.t-raffle .t-raffle-label { display: block; font-weight: 700; color: var(--saddle); }
.t-raffle-hero { position: relative; margin-top: 20px; }
.t-raffle-big { display: block; font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink-kraft); margin-top: 4px; }
/* THE TICKET (Fable REV 8:31; Daniel 8:15 pm "the more raffle tickets you hold, the cooler it looks", 8:31 pm "with just one
   ticket, that area has to still look pretty cool"). One large raffle ticket is the hero: the stub prints the COUNT (where a
   real ticket says ADMIT ONE), a perforation with two punches, a double rule, the guest's own name on the face, the event
   line above it and a brass ornament under it. NO ticket number anywhere. Growth builds from the same ticket: more peek out
   behind it (2 to 4 loose, 5+ a squared wad by tier), a band wraps the stub from 5 up and 100+ carries a brass seal. */
.t-raffle-stack { position: relative; margin-top: 10px; --lift: 0px; padding-top: var(--lift); --stub: 100px; --punch: 7px; --punch-edge: var(--leather-600); }
.t-raffle-ticket, .t-raffle-under { position: relative; display: grid; grid-template-columns: 100px 1fr; min-height: 128px; border-radius: 10px; border: var(--edge-leather); background: var(--control-bg);
  box-shadow: inset 0 0 0 3px var(--control-bg), inset 0 0 0 4px rgba(201, 150, 42, 0.55), 0 1px 2px rgba(42, 23, 8, 0.18);
  /* the two punches at the perforation: the mask cuts the border with them, as a real punch does. Their place (--stub) and
     size (--punch) live on the stack, shared with the cut edge, the kraft floor and the perforation below (Fable, tg-notch-1027) */
  -webkit-mask: radial-gradient(circle at var(--stub) 0, transparent var(--punch), #000 calc(var(--punch) + 0.5px)), radial-gradient(circle at var(--stub) 100%, transparent var(--punch), #000 calc(var(--punch) + 0.5px)); -webkit-mask-composite: source-in;
  mask: radial-gradient(circle at var(--stub) 0, transparent var(--punch), #000 calc(var(--punch) + 0.5px)), radial-gradient(circle at var(--stub) 100%, transparent var(--punch), #000 calc(var(--punch) + 0.5px)); mask-composite: intersect; }
.t-raffle-under { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; min-height: 128px; box-shadow: inset 0 0 0 3px var(--control-bg), inset 0 0 0 4px rgba(201, 150, 42, 0.35), 0 1px 2px rgba(42, 23, 8, 0.18); transform: translate(calc(var(--k) * 3px), calc(var(--k) * -3px)) rotate(var(--r, 0deg)); transform-origin: 50% 100%; }
/* the tickets behind are whole paper: no punches. Each layer sits 3 px right and up of the one in front, so their holes
   lined up into a white zig-zag over the front ticket's tear at 50 and 100 (raffle preview 10-27, item 9) */
.t-raffle-under { -webkit-mask: none; mask: none; }
/* a new ticket fans in from behind the stack, one after another, like a hand of tickets (Part 4 #7 of tg-premium2-1027) */
.t-raffle-under.is-new { animation: tgUnderIn 320ms var(--ease-land) calc(var(--i, 0) * 60ms) backwards; }
@keyframes tgUnderIn { from { opacity: 0; transform: translate(calc(var(--k) * 3px + 6px), calc(var(--k) * -3px + 10px)) rotate(calc(var(--r, 0deg) - 6deg)); } }
.t-raffle-ticket { z-index: 1; filter: drop-shadow(0 6px 10px rgba(42, 23, 8, 0.22)); }
/* a real punch (Fable, tg-notch-1027; Daniel 10-27 11:52 pm "where the dotted line is above and below it, it's a bit messed up"):
   the ticket's own edge line follows each half-circle (a 1.5 px ring in the border colour, drawn on the ticket and cut by the
   same mask, so it meets the straight border at both ends), and what shows through the hole is the kraft card: a kraft floor
   on the stack, over the layers behind and under the hero, so no white sliver or edge tick of the wad ever shows in a punch.
   The hero's drop shadow falls onto that floor, which is the depth of the hole. */
.t-raffle-ticket::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at calc(var(--stub) - 1.5px) -1.5px, transparent calc(var(--punch) - 0.5px), var(--punch-edge) calc(var(--punch) - 0.5px) calc(var(--punch) + 1.5px), transparent calc(var(--punch) + 2px)),
              radial-gradient(circle at calc(var(--stub) - 1.5px) calc(100% + 1.5px), transparent calc(var(--punch) - 0.5px), var(--punch-edge) calc(var(--punch) - 0.5px) calc(var(--punch) + 1.5px), transparent calc(var(--punch) + 2px)); }
.t-raffle-stack.tier-4, .t-raffle-stack.tier-5 { --punch-edge: var(--brass-700); }   /* the brass-edged tickets cut in brass */
/* the floor is the card's own kraft (the .m-kraft material, same three image declarations), not a flat token: the flat
   --kraft-200 disc measured 5% lighter than the textured card and read as a patch. The two discs are cut by a mask. */
.t-raffle-stack::before { content: ""; position: absolute; left: 0; right: 0; top: var(--lift); bottom: 0; z-index: 1; pointer-events: none;
  background-color: var(--kraft-200); background-image: url("/assets/img/thanksgiving/kraft-1024.jpg"); background-image: -webkit-image-set(url("/assets/img/thanksgiving/kraft-768.webp") 1x, url("/assets/img/thanksgiving/kraft-1152.webp") 2x); background-image: image-set(url("/assets/img/thanksgiving/kraft-768.webp") 1x, url("/assets/img/thanksgiving/kraft-1152.webp") 2x); background-position: center top; background-size: 100% auto; background-repeat: repeat-y;
  -webkit-mask: radial-gradient(circle at var(--stub) 0, #000 calc(var(--punch) + 2px), transparent calc(var(--punch) + 2.75px)), radial-gradient(circle at var(--stub) 100%, #000 calc(var(--punch) + 2px), transparent calc(var(--punch) + 2.75px));
  mask: radial-gradient(circle at var(--stub) 0, #000 calc(var(--punch) + 2px), transparent calc(var(--punch) + 2.75px)), radial-gradient(circle at var(--stub) 100%, #000 calc(var(--punch) + 2px), transparent calc(var(--punch) + 2.75px)); }
/* the stub: the count, big, and the word under it */
.t-raffle-stubcol { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 6px 12px 24px;   /* 24 at the left leaves room for the band */ border-right: 2px solid transparent; }
/* the perforation is drawn, not a dashed border: WebKit dropped the 2 px dashed border at 320 (a solid one painted, the
   dashed one did not; final walk 10-27, item 3). Same 2 px, same colour, 6 on 6 off, over the border's own space. */
/* ... and it runs from punch to punch: it starts at the cut edge of the top hole and ends at the cut edge of the bottom one
   (the ring's outer radius, less the border), and `round` fits a whole number of 6 px slits between them, a 3 px rest at
   each end, so the row never ends in half a slit at any height (Fable, tg-notch-1027) */
.t-raffle-stubcol::after { content: ""; position: absolute; top: var(--punch); bottom: var(--punch); right: -2px; width: 2px; background: linear-gradient(180deg, transparent 0 3px, var(--kraft-300) 3px 9px, transparent 9px 12px) 0 0 / 2px 12px round; pointer-events: none; }
.t-raffle-stack .t-raffle-big { font-size: 44px; line-height: 1; margin: 0; letter-spacing: -0.03em; }
.t-raffle-stack .t-raffle-big.is-3 { font-size: 34px; }   /* three digits and up */
/* four digits (1,000+): smaller again so the count stays inside the stub (measured: "1,234" is 95 px at 34 px in a 70 px stub) */
.t-raffle-stack .t-raffle-big.is-4 { font-size: 24px; }
/* the thick wads (35+: 8 and 11 layers, 3 px right each): the stack gives way on the right so the farthest layer stops
   16 px into the card's padding, as the 15+ wad does, and is never cut by the card's edge */
.t-raffle-stack.tier-4 { margin-right: 8px; }
.t-raffle-stack.tier-5 { margin-right: 17px; }
.t-raffle-stubword { font: 700 9px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--saddle); }
/* the face: event line, the name, the ornament */
.t-raffle-face { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px 14px 16px; min-width: 0; }
.t-raffle-event { font: 700 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--saddle); }
.t-raffle-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-kraft); margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.t-raffle-orn { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--brass-500); }
.t-raffle-orn::before, .t-raffle-orn::after { content: ""; flex: 1; border-top: 1px solid rgba(201, 150, 42, 0.5); }
.t-raffle-orn svg { width: 54px; height: 8px; display: block; }
/* the band around the stub, from 5 tickets up: kraft tie, leather, brass, foil (Fable, tg-band-1027; Daniel 10-27 10:18 pm
   "that gold band ... looks really messed up on the left side"). It is a STRAP, not a stick. Its front runs down the hero
   ticket only, from the hero's top edge to its foot, so it crosses the printed frame at both ends as a real strap does.
   Its ::before is the same strap folding over the top of the wad: a 45-degree parallelogram that climbs the stair of the
   layers behind (each one 3 px right and 3 px up of the last) to the farthest layer's top edge, shaded darker as the face
   that turns away. Its ::after is the light on the strap: a highlight at the left edge, shade at the right, a crease at the
   fold and a turn-under at the foot. Nothing pokes above the wad or below the hero, and the big count keeps its room. */
.t-raffle-band { display: none; position: absolute; z-index: 2; top: var(--lift); bottom: 0; left: 9px; width: 11px; border-radius: 0;
  box-shadow: 1px 0 2px rgba(42, 23, 8, 0.28), 3px 2px 5px rgba(42, 23, 8, 0.16); }
.t-raffle-band::before { content: ""; position: absolute; left: 0; bottom: 100%; width: 100%; height: var(--lift); box-sizing: border-box;
  background: inherit; border: inherit; border-bottom: 0; transform: skewX(-45deg); transform-origin: 0 100%;
  filter: brightness(0.74) saturate(1.05); box-shadow: 3px 0 4px rgba(42, 23, 8, 0.22); }
.t-raffle-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42, 23, 8, 0.32) 0 1px, transparent 1px),
              linear-gradient(180deg, transparent calc(100% - 5px), rgba(42, 23, 8, 0.30)),
              linear-gradient(90deg, rgba(255, 252, 240, 0.36), rgba(255, 252, 240, 0.08) 38%, transparent 55%, rgba(42, 23, 8, 0.18)); }
.t-raffle-stack.tier-2 .t-raffle-band { display: block; background: var(--kraft-300); border: 1px solid var(--leather-400);
  background-image: linear-gradient(180deg, rgba(255, 252, 240, 0.10), transparent 30%, transparent 70%, rgba(42, 23, 8, 0.08)); }   /* plain paper, no rungs */
.t-raffle-stack.tier-3 .t-raffle-band { display: block; background: var(--leather-600); border: 1px solid var(--leather-800);
  background-image: repeating-linear-gradient(180deg, rgba(240, 195, 90, 0.6) 0 3px, transparent 3px 6px); background-size: 1px 100%; background-repeat: repeat-y; background-position: 4px 0; }   /* one brass stitch down the middle */
.t-raffle-stack.tier-4 .t-raffle-band { display: block; background: var(--brass-500); border: 1px solid var(--brass-700);
  background-image: linear-gradient(90deg, var(--brass-300), var(--brass-500) 45%, var(--brass-700)); }
.t-raffle-stack.tier-5 .t-raffle-band { display: block; background: var(--foil); border: 1px solid var(--brass-700); }
.t-raffle-stack.tier-4 .t-raffle-ticket, .t-raffle-stack.tier-5 .t-raffle-ticket { border-color: var(--brass-700); box-shadow: inset 0 0 0 3px var(--control-bg), inset 0 0 0 5px var(--brass-500), 0 1px 2px rgba(42, 23, 8, 0.18); }
.t-raffle-stack.tier-5 .t-raffle-ticket { box-shadow: inset 0 0 0 3px var(--control-bg), inset 0 0 0 5px var(--brass-300), inset 0 0 0 6px var(--brass-700), 0 1px 2px rgba(42, 23, 8, 0.18); }
/* 100+: the brass seal on the face */
.t-raffle-seal { display: none; position: absolute; right: 12px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; }   /* the face: flat brass, tg-theme.css */
.t-raffle-stack.tier-5 .t-raffle-seal { display: flex; }
.t-raffle-stack.tier-5 .t-raffle-face { padding-right: 54px; }   /* the ornament stops short of the seal */
.t-raffle-name.is-long { font-size: 18px; }   /* a word of 12+ letters (Konstantinova) never clips */
.t-raffle-seal svg { width: 16px; height: 16px; }
/* tier up after a buy: one pass of light across the ticket (T44, once, then still) */
/* (the band moves by background-position inside the stack: a translated layer left the card wider after it ran) */
.t-raffle-stack::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 42%, rgba(255, 250, 230, 0.6) 50%, transparent 58%) no-repeat; background-size: 340% 100%; background-position: 100% 0; }
.t-raffle-stack.is-up::after { opacity: 1; animation: tgSheen 650ms var(--ease-ctl) 300ms both; }
@keyframes tgSheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .t-raffle-under.is-new { animation: none; } .t-raffle-stack.is-up::after { animation: none; opacity: 0; } }
/* narrow: the punches, their cut edges, the kraft floor and the perforation all move with the 90 px stub through --stub;
   the mask itself is not restated here (restating the `mask` shorthand would reset mask-composite to add, the two punches
   would cancel out and the ticket lost its notches at 320: final walk 10-27, item 3) */
@media (max-width: 400px) { .t-raffle-ticket, .t-raffle-under { grid-template-columns: 90px 1fr; min-height: 124px; }
  .t-raffle-stack { --stub: 90px; }
  .t-raffle-stack .t-raffle-big { font-size: 40px; } .t-raffle-stack .t-raffle-big.is-3 { font-size: 30px; } .t-raffle-stack .t-raffle-big.is-4 { font-size: 21px; } .t-raffle-name { font-size: 19px; } .t-raffle-name.is-long { font-size: 16px; }
  /* narrow: the seal sits over the ornament's right end so the name keeps the full face width */
  .t-raffle-stack.tier-5 .t-raffle-face { padding-right: 12px; } .t-raffle-stack.tier-5 .t-raffle-orn { padding-right: 36px; } .t-raffle-seal { width: 28px; height: 28px; right: 10px; bottom: 8px; } .t-raffle-face { padding: 12px 12px; } .t-raffle-event { font-size: 9px; letter-spacing: 0.14em; } .t-raffle-stubcol { padding-left: 22px; } }
/* the floor width: the live card is 10 px narrower than the mock at 320 (ticket 234, not 244), so the event line keeps one
   line by tightening its tracking, as the page's date line does (measured: 127 px at .14em in a 117 px face) */
@media (max-width: 359px) { .t-raffle-event { letter-spacing: 0.06em; } }
.t-raffle-sub { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--saddle); }
.t-raffle-sub:empty { display: none; }
.t-raffle-wait { display: block; position: relative; height: 3px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(42, 23, 8, 0.12); }
.t-raffle-wait[hidden] { display: none; }
.t-raffle-wait::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: var(--brass-700); animation: tRaffleSlide 1.2s linear infinite; }
@keyframes tRaffleSlide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.t-raffle-add { margin-top: 20px; cursor: pointer; }
/* sales closed hides the button: the hardware pill's display: flex would beat the hidden attribute */
.t-raffle-add[hidden] { display: none; }
/* sales closed: one line in the kraft-white well (same look as #tickets .event-closed) */
.t-raffle-closed { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--r-field); background: rgba(255, 253, 248, 0.55); border: var(--edge-leather); color: var(--ink-kraft); font-size: 16px; line-height: 1.5; }
.t-raffle-closed[hidden] { display: none; }
/* THE ORDER SLIP (Fable 10-27, Daniel 8:22 pm "a lot more professional ... a lot more sophisticated"): a kraft-white tear-off
   sheet under the ticket (perforated top edge, leather edge, deep shadow), 8 px wider than the column; its own header row
   (PICK A BUNDLE + a round close) so the brass button leaves while it is open. Everything below is scoped to the slip,
   so the buy card on /thanksgiving/ keeps its own look. (The pay pills keep their own rules.) */
.t-raffle-slip { position: relative; margin: 20px -8px 0; padding: 14px 16px 18px; background: var(--control-bg); border: var(--edge-leather); border-radius: 6px 6px var(--r-field) var(--r-field);
  box-shadow: 0 14px 30px -14px rgba(42, 23, 8, 0.55), 0 1px 2px rgba(42, 23, 8, 0.15); animation: tRaffleIn 220ms var(--ease-land) backwards; }
.t-raffle-slip::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; border-top: 2px dashed var(--kraft-300); }
@keyframes tRaffleIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.t-raffle-slip[hidden] { display: none; }
.t-raffle-sliphead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 6px; }
.t-raffle .t-raffle-sliphead .t-raffle-label { margin: 0; }
.t-raffle-x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; margin: 0 -6px 0 0; border-radius: 50%; border: var(--edge-leather); background: var(--control-bg); color: var(--ink-kraft); cursor: pointer;
  box-shadow: 0 1px 2px rgba(42, 23, 8, 0.12); touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform var(--t-micro) var(--ease-ctl), background-color var(--t-micro) var(--ease-ctl); }
.t-raffle-x:active { transform: scale(0.96); background: var(--kraft-100); }
.t-raffle-x:focus-visible { outline: 3px solid var(--brass-300); outline-offset: 3px; }
.t-raffle-x svg { display: block; width: 16px; height: 16px; }
/* the slip's header says "Pick a bundle": the buy card's own label is not shown twice */
.t-raffle-slip #tickets #qty-label { display: none; }
.t-raffle-slip #tickets .ev-qty { margin-top: 0; }
/* the bundles: a six-column grid, three tiles over two wide ones, every row full width */
.t-raffle-slip #tickets .chips-bundles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; }
.t-raffle-slip #tickets .chips-bundles .chip { grid-column: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; min-width: 0; min-height: 80px;
  padding: 12px 8px 10px; border-radius: 10px; border: var(--edge-leather); background: var(--kraft-100); color: var(--ink-kraft); font-family: var(--font-display);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(42, 23, 8, 0.12); cursor: pointer;
  transition: transform var(--t-micro) var(--ease-ctl), box-shadow var(--t-micro) var(--ease-ctl), background-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl); }
.t-raffle-slip #tickets .chips-bundles .chip:nth-child(n+4) { grid-column: span 3; }
/* a tile with no SAVE tag (the 1 ticket): even padding, its two lines on the tile's centre (button-center-check: 12/10 gave dy +1.0 at 320) */
.t-raffle-slip #tickets .chips-bundles .chip:not(:has(.chip-save)) { padding-top: 11px; padding-bottom: 11px; }
.t-raffle-slip #tickets .chips-bundles .chip .chip-n { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.t-raffle-slip #tickets .chips-bundles .chip .chip-p { margin: 0; font: 600 15px/1 var(--font-mono); letter-spacing: 0.04em; color: inherit; }
/* (11 px, not the spec's 10: the house floor for the mono label voice is 11) */
.t-raffle-slip #tickets .chips-bundles .chip .chip-save { margin-top: 2px; padding: 5px 8px 4px; border-radius: 999px; font: 700 11px/1 var(--font-mono); letter-spacing: 0.14em; }
.t-raffle-slip #tickets .chips-bundles .chip:active { transform: scale(0.98); }
.t-raffle-slip #tickets .chips-bundles .chip[aria-pressed="true"] { background: var(--leather-800); color: var(--sky-top); border-color: var(--brass-500); box-shadow: 0 0 0 1px var(--brass-500), var(--shadow-brass); }
/* the stepper: two leather discs, the same object; at one the minus is the same disc in kraft (never a hollow ghost) */
.t-raffle-slip #tickets .qty-count-label { margin: 16px 0 0; }
.t-raffle-slip #tickets .qty { grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 12px; align-items: center; margin-top: 16px; }
.t-raffle-slip #tickets .step { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--brass-700); background: var(--leather-800); color: var(--sky-top); box-shadow: var(--shadow-leather); }
.t-raffle-slip #tickets .step:disabled { background: var(--kraft-100); border: 1px solid var(--kraft-300); color: var(--kraft-300); box-shadow: none; cursor: default; }
.t-raffle-slip #tickets .step svg { width: 18px; height: 18px; }
.t-raffle-slip #tickets .qty-num { height: 56px; min-height: 56px; border-radius: var(--r-field); border: var(--edge-leather); background: var(--kraft-100); color: var(--ink-kraft);
  font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.t-raffle-slip #tickets .qty-num:focus { border: 2px solid var(--brass-500); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.25); }
/* the total: a hairline row, the figure dominant */
.t-raffle-slip #tickets .ev-total { margin-top: 16px; padding: 14px 0 12px; }
.t-raffle-slip #tickets .ev-total .ev-total-fig { font-size: 36px; }
.t-raffle-slip #tickets .ev-total .ev-total-each { font-size: 14px; }
/* the fine print */
.t-raffle-slip #tickets .tg-policy { font-size: 14px; }
/* the pay pills: side by side only where each holds mark, word and spacer on one line (167 px, the pills' own measure);
   the slip is narrower than the column, so at 440 its pills are 163 px and "Cash App" wrapped: stacked up to 459 px */
@media (max-width: 459px) { .t-raffle-slip #tickets .pay-pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .t-raffle-slip { margin-left: -6px; margin-right: -6px; padding: 12px 12px 16px; }
  .t-raffle-slip #tickets .chips-bundles .chip .chip-n { font-size: 18px; }
  /* narrow: two columns, the 100 bundle full width at the foot (2 + 2 + 1, every row full width) */
  .t-raffle-slip #tickets .chips-bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-raffle-slip #tickets .chips-bundles .chip, .t-raffle-slip #tickets .chips-bundles .chip:nth-child(n+4) { grid-column: span 1; }
  .t-raffle-slip #tickets .chips-bundles .chip:nth-child(5) { grid-column: span 2; }
}
.t-raffle.is-loading .t-raffle-add { display: none; }
/* the buy card inside: no second header, no tabs, the raffle's own card (never Thanksgiving's prices before it draws) */
.t-raffle-buy[hidden] { display: none; }
.t-raffle-buy #tickets .event-stub, .t-raffle-buy #tg-raffle-done { display: none !important; }
.t-raffle-buy:not(.is-ready) #events-form { visibility: hidden; height: 0; overflow: hidden; }
.t-raffle-buy:not(.is-ready)::before { content: "One moment\2026"; display: block; padding: 12px 0; color: var(--saddle); font-size: 16px; }
.t-raffle.has-name #ev-card-name-field { display: none !important; }
@media (max-width: 400px) { .t-raffle-big { font-size: 64px; } }
@media (prefers-reduced-motion: reduce) {
  .t-raffle-toast, .t-raffle-panel { animation: none; }
  .t-raffle-x, .t-raffle-slip #tickets .chips-bundles .chip { transition-duration: 0.001ms; }
  .t-raffle-wait::after { animation: none; width: 100%; opacity: 0.4; }
}

/* ── THE HARDWARE FAMILY (Fable, UI-REIMAGINE.md, 10-27; Daniel 1:28 am "The raffle and ticket switch to purchase is
   hard to see. Then I want all the ui and buttons reimagined"). "Hardware on kraft": every control is a brass or
   leather fitting on the kraft card. Since round 2 (tg-premium2-1027; Daniel 10-28 2:43 am "you had said that the gold
   pills on my ticket would get upgraded - they didnt") the material, the press, the focus ring and the disabled look
   are tg-theme.css's minted brass, kraft paper and stitched leather, the same as the host page; this file keeps only
   the box each pill fills here. The vendor wallet buttons are never styled. ── */
.tg-pill, .tg-cta, .tg-pay #ev-submit, .tg-pay #ev-wallet-finish, .tg-pay .tg-cashgo, .tg-rafdone .rd-more,
.tg-cashwait .cw-copy, .tg-cashwait .cw-back, .tg-cashwait .cw-open, .tk-actions .btn, .tk-find .btn, .tg-mine a {
  display: flex; width: 100%; margin: 0; letter-spacing: 0;
}
.tg-pill .px, .tg-cta .px { font-weight: 500; opacity: 0.9; }
.tg-pill .px:empty, .tg-cta .px:empty { display: none; }
/* Cash App keeps its own green, with its mark on white inside */
.tg-pill-cash, .tg-pay .tg-cashgo, .tg-cashwait .cw-open {
  background: #00d64f; color: #0d1526; border: 1px solid #00a63c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -10px rgba(0, 214, 79, 0.55), 0 2px 4px rgba(0, 0, 0, 0.25);
}
.tg-cashgo .pay-ico { width: 26px; height: 26px; flex: none; display: block; }
.tg-cashwait .cw-copy, .tg-cashwait .cw-back { width: auto; max-width: 100%; }
.tg-cashwait .cw-open { max-width: 360px; margin-top: 4px; }
.tg-mine a { width: auto; min-height: 44px; padding: 0 18px; font-size: 16px; }
.tg-cta { margin-top: 18px; }
.tg-cta.is-quiet { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; border: 1.5px solid rgba(255, 255, 255, 0.55); filter: none; }

/* ── 1. the switch: the strip is the card's title band; two choice tiles hang off its bottom edge ── */
#tickets .ev-head { display: block; min-width: 0; }
#tickets .tg-pay { border-top: 0; padding-top: 0; margin-top: 16px; }
#tickets .event-stub { display: block; height: 84px; margin: -24px -20px 0; padding: 16px 18px 0; border-bottom: 0; background-position: center 35%; }
#tickets .event-stub::before { background: linear-gradient(180deg, rgba(20, 8, 2, 0.15), rgba(20, 8, 2, 0.7)); }
#tickets .tg-strip-t { white-space: nowrap; font-size: 24px; font-size: clamp(1rem, 6.5vw - 0.1rem, 1.5rem); color: var(--sky-top); text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7); margin: 0; }
#tickets .tg-strip-m { color: var(--brass-300); font-weight: 700; letter-spacing: 0.18em; margin: 6px 0 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); white-space: nowrap; }
/* the floor width: the date line keeps one line by tightening its tracking (measured: 275 px at .18em in a 238 px band at 320) */
@media (max-width: 359px) { #tickets .tg-strip-m { letter-spacing: 0.04em; } }
.tg-choice { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tile-gap); margin-top: -22px; }
.tg-choice:has(> .tg-tile[hidden]) { grid-template-columns: minmax(0, 1fr); }
/* the narrowest phones: the two ticket tiles one above the other, nothing clipped, no title under the tick (Fable FIX 10-27;
   after the base rule so it wins) */
@media (max-width: 359px) { .tg-choice { grid-template-columns: minmax(0, 1fr); } }
.tg-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 10px;
  min-width: 0; min-height: 104px; margin: 0; padding: 12px 14px 9px; border-radius: var(--r-tile); text-align: left; cursor: pointer;
  font-family: var(--font-body); background: var(--control-bg); color: var(--ink-kraft); border: var(--edge-leather); box-shadow: 0 2px 6px rgba(42, 23, 8, 0.18);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl), box-shadow var(--t-ctl) var(--ease-ctl), transform var(--t-micro) var(--ease-ctl);
}
.tg-tile[hidden] { display: none; }
.tg-tile:active { transform: scale(0.98); }
.tg-tile:focus-visible { outline: 3px solid var(--brass-300); outline-offset: 3px; }
.tg-tile-kind { display: block; padding-right: 28px; font-family: var(--font-poster); font-weight: 400; font-size: 17px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.tg-tile-cost { display: block; }
.tg-tile-price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* the early price's two lines in the event tile (David 10-27; hero trim v2): "Through Nov 13" / "Then $20" */
.tg-tile-per .ln { display: block; }
.tg-tile-per { display: block; margin-top: 5px; font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saddle); white-space: nowrap; }
/* (11 px, not the spec's 10: the house floor for the mono label voice is 11; mobile-qa holds it) */
.tg-tile-tick { position: absolute; top: 13px; right: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--leather-600); color: var(--ink-kraft);
  transition: background-color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl); }
.tg-tile-tick svg { display: block; width: 14px; height: 14px; opacity: 0; transition: opacity var(--t-ctl) var(--ease-ctl); }
/* (padding 12/14/9 and the check 13/14 in: the card's ink is centred on the tile, measured by button-center-check) */
/* selected: three changes at once (leather fill, brass rim, the check), the price in foil */
.tg-tile[aria-pressed="true"] { background: var(--leather-800); color: var(--sky-top); border: var(--rim-brass); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.22), var(--shadow-leather); }
.tg-tile[aria-pressed="true"] .tg-tile-per { color: rgba(253, 241, 216, 0.7); }
.tg-tile[aria-pressed="true"] .tg-tile-price { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tg-tile[aria-pressed="true"] .tg-tile-tick svg { opacity: 1; }
/* the body under the tiles swaps with a short fade, never a slide (thanksgiving.js sets .is-swap on a change) */
#events-form.is-swap .ev-qty, #events-form.is-swap .tg-pay { animation: tgSwap 160ms var(--ease-ctl) backwards; }
@keyframes tgSwap { from { opacity: 0; } }
#tickets .event-closed { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r-field); background: rgba(255, 253, 248, 0.55); border: var(--edge-leather); color: var(--ink-kraft); font-size: 16px; line-height: 1.5; }

/* ── 2. how many: the label above, leather circles, a kraft-white number well ── */
#tickets .ev-qty { margin-top: 18px; }
#tickets .qty-label { margin: 0 0 6px; text-align: left; font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saddle); }
#tickets .qty { grid-template-columns: var(--ctl-h) minmax(0, 1fr) var(--ctl-h); gap: var(--tile-gap); margin: 0; }
#tickets .step {
  display: grid; place-items: center; width: var(--ctl-h); height: var(--ctl-h); padding: 0; border-radius: 50%; font-size: 0;
  background: var(--leather-600); border: 1px solid rgba(240, 195, 90, 0.4); color: var(--sky-top); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-leather);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform var(--t-micro) var(--ease-ctl), background-color var(--t-ctl) var(--ease-ctl);
}
#tickets .step::before, #tickets .step::after { content: none; display: none; }
#tickets .step svg { display: block; width: 22px; height: 22px; }
#tickets .step:active { transform: scale(0.94); background: var(--leather-600); border-color: rgba(240, 195, 90, 0.4); }
#tickets .step:focus-visible { outline: 3px solid var(--brass-300); outline-offset: 3px; }
/* at the end of its range: an empty ring, never a washed blob */
#tickets .step[disabled] { opacity: 1; background: transparent; border: 1.5px solid rgba(74, 42, 18, 0.35); color: rgba(42, 23, 8, 0.35); box-shadow: none; pointer-events: none; }
#tickets .qty-num { height: var(--ctl-h); border-radius: var(--r-field); background: var(--control-bg); border: var(--edge-leather); color: var(--ink-kraft);
  font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums;
  transition: border-color var(--t-micro) var(--ease-ctl), box-shadow var(--t-micro) var(--ease-ctl); }
#tickets .qty-num:focus { border: 2px solid var(--brass-500); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.25); }
#tickets .chips { gap: var(--tile-gap); margin: var(--tile-gap) 0 0; }
#tickets .chips:has(.chip-bonus) { margin-top: 18px; }
#tickets .chip {
  position: relative; display: grid; place-items: center; height: auto; min-height: var(--ctl-h-sm); padding: 0; border-radius: var(--r-pill);
  background: var(--control-bg); border: var(--edge-leather); color: var(--ink-kraft); font-family: var(--font-body); font-weight: 700; font-size: 18px; line-height: 1;
  font-variant-numeric: tabular-nums; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl), transform var(--t-micro) var(--ease-ctl);
}
#tickets .chip:active { transform: scale(0.96); }
#tickets .chip:focus-visible { outline: 3px solid var(--brass-300); outline-offset: 3px; }
#tickets .chip[aria-pressed="true"] { background: var(--leather-800); color: var(--sky-top); border: var(--rim-brass); }
/* a real bonus tier only (the price data's bonus_tiers): a brass tag centred on the chip's top edge */
#tickets .chip .chip-bonus { position: absolute; top: -9px; left: 50%; right: auto; transform: translateX(-50%); padding: 4px 7px 3px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: var(--brass-500); color: var(--leather-800); border: 1px solid var(--brass-700); font: 700 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
#tickets .chip .chip-bonus::after { content: " free"; }
/* a narrow phone: the tag keeps to its chip (the number alone; the line under the total says the rest) */
@media (max-width: 400px) { #tickets .chip .chip-bonus::after { content: none; } }
@media (max-width: 359px) { #tickets .chips-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
/* the total: one receipt line between two hairlines; the figure is the only loud thing, the breakdown a quiet line under it, only when it adds information */
#tickets .ev-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 18px 0 0; padding: 16px 0 14px; border-top: 1px solid var(--rule-kraft); border-bottom: 1px solid var(--rule-kraft); }
#tickets .ev-total dt { flex: 0 0 auto; font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saddle); }
#tickets .ev-total dd { flex: 0 1 auto; min-width: 0; margin: 0; text-align: right; color: var(--ink-kraft); }
#tickets .ev-total .ev-total-fig { display: block; font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
#tickets .ev-total .ev-total-fig .cur { display: inline-block; font-size: 0.6em; font-weight: 700; color: var(--saddle); vertical-align: top; margin-top: 0.08em; margin-right: 0.04em; letter-spacing: 0; }
#tickets .ev-total .ev-total-each { display: block; margin: 5px 0 0; font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--saddle); font-variant-numeric: tabular-nums; white-space: normal; }
#tickets .ev-total .ev-total-each[hidden], #tickets .ev-total .ev-total-each:empty { display: none; }
/* the figure ticks when the amount changes (events.js adds .is-tick on a change) */
#tickets .ev-total .ev-total-fig.is-tick { animation: tgTotalTick var(--t-ctl) var(--ease-ctl) backwards; }
@keyframes tgTotalTick { from { opacity: 0.35; transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { #tickets .ev-total .ev-total-fig.is-tick { animation: none; } }
@media (min-width: 560px) {
  #tickets .ev-total { padding: 18px 0 16px; }
  #tickets .ev-total .ev-total-fig { font-size: 40px; }
  #tickets .ev-total .ev-total-each { font-size: 15px; }
}
/* bonus entries line (raffle): brass when a tier is reached */
.tg-bonus { margin: 10px 0 0; text-align: right; font-size: 16px; line-height: 1.4; color: var(--saddle); }
.tg-bonus[hidden] { display: none; }
.tg-bonus.is-on { color: var(--leather-600); font-weight: 700; }
.tg-bonus.is-on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-500); margin-right: 8px; vertical-align: 1px; }
/* raffle bundle chips (Daniel 10-27 6:10 pm: "the three numbers on each pill don't make sense"): each tile says what it buys
   in words, its price under that, the saving as a small brass tag; 3 a row at 400 px and up (3 + 2), 2 a row under 400 px, all five from 560 px */
#tickets .chips-bundles { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--tile-gap); margin: 14px 0 0; }
#tickets .chips-bundles .chip {
  flex: 0 1 calc((100% - 2 * var(--tile-gap)) / 3); min-width: 0; min-height: 76px; border-radius: var(--r-tile);
  align-content: center; gap: 0; padding: 10px 6px 10px;
}
/* line 1, what it buys: the display face, one line; proportional digits so a leading "1" sits centred (tabular nums gave dx +1.1) */
#tickets .chips-bundles .chip .chip-n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; font-variant-numeric: normal; }
#tickets .chip .chip-n { display: block; font: inherit; line-height: 1; }
/* line 2, the price: the mono voice, readable at 13 px */
#tickets .chip .chip-p { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: 0.04em; color: var(--saddle); }
#tickets .chips-bundles .chip .chip-p { margin-top: 3px; font-size: 13px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
#tickets .chip[aria-pressed="true"] .chip-p { color: rgba(253, 241, 216, 0.8); }
/* line 3, the saving: a small brass tag inside the tile; it lights solid brass on the chosen tile */
#tickets .chip .chip-save {
  position: relative; display: inline-block; margin-top: 7px; padding: 4px 7px 3px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font: 700 11px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
#tickets .chip .chip-save > span + span::before { content: " "; }
#tickets .qty-count-label { margin-top: 16px; }
#tickets .qty-count-label[hidden] { display: none; }
/* under 400 px a 3-a-row tile is 85-95 px and "100 tickets" no longer fits on one line (measured): two a row (2 + 2 + 1) */
@media (max-width: 399px) { #tickets .chips-bundles .chip { flex-basis: calc((100% - var(--tile-gap)) / 2); } #tickets .chips-bundles .chip .chip-n { font-size: 17px; } }
@media (min-width: 560px) { #tickets .chips-bundles .chip { flex-basis: calc((100% - 4 * var(--tile-gap)) / 5); } }
/* David's raffle words on the raffle receipt (10-27) */
.rd-terms { font-size: 15px; }

/* ── the pay block: the wallet well, OR, Cash App | Card, then the fields ── */
.tg-or { display: flex; align-items: center; gap: 12px; }
.tg-or::before, .tg-or::after { content: ""; flex: 1 1 0; height: 1px; background: var(--rule-kraft); }
#tickets .tg-or .tg-mono { color: var(--saddle); font-weight: 700; letter-spacing: 0.18em; padding-left: 0.18em; }
.pay-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tile-gap); }
.pay-pair:has(> .pay-pick[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pay-pick {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: var(--ctl-h); margin: 0; padding: 0 8px;
  border-radius: var(--r-pill); background: var(--control-bg); border: var(--edge-leather); color: var(--ink-kraft);
  font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl), transform var(--t-micro) var(--ease-ctl);
}
.pay-pick[hidden] { display: none; }
.pay-pick:active { transform: scale(0.97); }
.pay-pick:focus-visible { outline: 3px solid var(--brass-300); outline-offset: 3px; }
.pay-pick[aria-pressed="true"] { background: var(--leather-800); color: var(--sky-top); border: var(--rim-brass); }
/* each choice carries its own mark: Cash App's green square stays green in both states; the card is a line icon */
.pay-pick .pay-ico { display: block; flex: none; width: 22px; height: 22px; }
/* THE MARK AND THE WORD CENTRED AS ONE GROUP (Daniel 10-27 10:10 pm: "Cash App and card aren't centered"). The 7:05 pm
   spacer centred the word alone and left the pair 15-16 px left of centre; it is gone, so the flex centring holds the
   mark, the 8 px gap and the word together. While a pill says "One moment" the mark steps aside and the word is centred. */
#pick-cash .pay-ico { width: 24px; height: 24px; }
.pay-pick[aria-busy="true"] .pay-ico, .pay-pick[data-wait] .pay-ico { display: none; }
/* side by side only where a pill holds mark and word on one line (8 + 24 + 8 + 80 + 8 = 128 px of a 167 px pill at
   430); narrower phones stack them (at 360-375 the side-by-side pill was 132-140 px and "Cash App" wrapped onto two
   lines) */
@media (max-width: 429px) { .pay-pair { grid-template-columns: minmax(0, 1fr); } }
/* Square's Cash App Pay button in the Cash App choice: its own frame, the full width, 48 px */
.tg-pay .tg-cashpay[data-wallet-state="live"] { display: block; width: 100%; min-height: 48px; }
.tg-cash-note { margin: 0; }
/* a bundle tile with a SAVE tag: its three lines centred as one group (button-center-check on the build: 9/10 px gave dy -1.5 to -1.7, 10.5/8.5 gives |dy| <= 0.2) */
#tickets .chips-bundles .chip:has(.chip-save) { padding-top: 10.5px; padding-bottom: 8.5px; }
/* the step: the fields only after a choice */
.pay-step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--rule-kraft); padding-top: 16px; animation: tgStep 200ms var(--ease) backwards; }
.pay-step[hidden], .tg-method[hidden] { display: none; }
@keyframes tgStep { from { opacity: 0; transform: translateY(12px); } }
.pay-step .field { margin: 0; }
.pay-step label { display: block; margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saddle); }
#tickets .pay-step input, .tk-find input, .tg-code-form input {
  width: 100%; height: var(--ctl-h); min-height: var(--ctl-h); margin: 0; padding: 0 16px; border-radius: var(--r-field); border: var(--edge-leather);
  background: var(--control-bg); color: var(--ink-kraft); font-family: var(--font-body); font-size: 17px; box-shadow: inset 0 1px 2px rgba(42, 23, 8, 0.12);
  transition: border-color var(--t-micro) var(--ease-ctl), box-shadow var(--t-micro) var(--ease-ctl);
}
#tickets .pay-step input::placeholder, .tk-find input::placeholder, .tg-code-form input::placeholder { color: rgba(42, 23, 8, 0.45); }
#tickets .pay-step input:focus, .tk-find input:focus, .tg-code-form input:focus { outline: none; border: 2px solid var(--brass-500); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.25); }
#tickets .pay-step input[aria-invalid="true"] { border: 2px solid var(--gate-red); box-shadow: 0 0 0 3px rgba(138, 45, 28, 0.18); }
.pay-step .field-help { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--saddle); }
.pay-step .field-error { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--gate-red); }
.pay-step .field-error:empty { display: none; }
/* the Square card form keeps its own box, inside the same kraft-white frame */
.tg-pay .card-slot { min-height: var(--ctl-h); padding: 2px 6px; border-radius: var(--r-field); border: var(--edge-leather); background: var(--control-bg); }
/* Square's sheet gives its form a 250 px floor (.sq-card-wrapper min-width), wider than this box's inside on a 320 phone
   (203 to 229 px), so the form ran past the rim. Square lays its form out to whatever width its wrapper has (the iframe is
   never scaled): the floor goes, the form fills the box, the box lines up with every field. 390 and up: already wider */
.tg-pay .card-slot .sq-card-wrapper { min-width: 0; }
/* Square's error line is an empty span (22 px plus 11 px above and below) until it has something to say: hidden while
   empty, so the box ends under MM/YY and CVV; a real card error still shows (final walk 10-27, item 2) */
.tg-pay .card-slot .sq-card-message:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .pay-step, #events-form.is-swap .ev-qty, #events-form.is-swap .tg-pay { animation: none; }
  .tg-pill, .tg-cta, .tg-tile, .tg-tile-tick, .tg-tile-tick svg, #tickets .step, #tickets .chip, .pay-pick, .pay-step input, #tickets .qty-num,
  .tg-pay #ev-submit, .tg-pay .tg-cashgo, .tk-actions .btn { transition-duration: 0.001ms; }
}

/* ── the ticket page and the find sheet: the same family ── */
.tk-wallet { display: flex; align-items: center; justify-content: center; min-height: var(--ctl-h); padding: 8px; border-radius: var(--r-tile); background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(253, 241, 216, 0.18); }
.tk-actions .btn.tk-wallet { border-radius: var(--r-pill); }
.tk-find { gap: 10px; }
.tg-code-form .tg-pill { margin-top: 2px; }

/* ── the raffle card on the ticket page: "Get more raffle tickets" is the brass pill (the slip carries its own close) ── */
.t-raffle-add { width: 100%; }
@media (min-width: 720px) {
  #tickets .event-stub { margin: -28px -28px 0; }
  .t-raffle-strip, .t-raffle-toast { margin-left: -28px; margin-right: -28px; }
}

/* ── WHO'S COMING (Fable, guest names 10-27; Daniel 7:17 pm "We need to have every guest's name"): one row per
   guest, the badge is the ticket number; a named row's badge turns to the leather fill with the brass tick.
   The ticket page's "Names on your tickets" sheet uses the same rows. Tokens are tg-theme.css's. ── */
.ev-guests { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule-kraft); animation: tgStep 200ms var(--ease-ctl) backwards; }
.ev-guests[hidden] { display: none; }
.gn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gn-head .tg-mono { margin: 0; white-space: nowrap; color: var(--saddle); font-weight: 700; letter-spacing: 0.18em; }
.gn-count { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 11px 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule-kraft); background: rgba(255, 253, 248, 0.55); color: var(--saddle); white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl); }
.gn-count:empty { display: none; }
.gn-count.done { background: var(--leather-800); color: var(--sky-top); border-color: var(--brass-500); }
.gn-count svg { width: 12px; height: 12px; flex: none; }
@media (max-width: 359px) { .gn-count .w { display: none; } }
.gn-lede { margin: 6px 0 12px; font-size: 16px; line-height: 1.5; color: var(--ink-kraft); }
.gn-list { display: flex; flex-direction: column; gap: var(--tile-gap); margin: 0; padding: 0; list-style: none; }
.gn-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; scroll-margin-top: 24px; animation: tgStep 200ms var(--ease-ctl) backwards; }
.gn-num { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; border: var(--edge-leather); background: var(--control-bg); color: var(--ink-kraft);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; cursor: text;
  transition: background-color var(--t-ctl) var(--ease-ctl), border-color var(--t-ctl) var(--ease-ctl), color var(--t-ctl) var(--ease-ctl); }
.gn-num b { font-weight: 700; line-height: 1; }
.gn-num .gn-tick { display: none; width: 16px; height: 16px; }
.gn-row.ok .gn-num { background: var(--leather-800); color: var(--sky-top); border: var(--rim-brass); box-shadow: var(--shadow-brass); }
.gn-row.ok .gn-num b { display: none; }
.gn-row.ok .gn-num .gn-tick { display: block; animation: gnTick 220ms var(--ease-glide) backwards; }
@keyframes gnTick { from { transform: scale(0.5); opacity: 0; } }
.gn-row.bad .gn-num { background: var(--control-bg); border: 2px solid var(--gate-red); color: var(--gate-red); box-shadow: none; }
.gn-row.bad .gn-num b { display: inline; }
.gn-row.bad .gn-num .gn-tick { display: none; }
#tickets .gn-input, .gn-sheet .gn-input {
  width: 100%; min-width: 0; height: var(--ctl-h); min-height: var(--ctl-h); margin: 0; padding: 0 16px; border-radius: var(--r-field); border: var(--edge-leather);
  background: var(--control-bg); color: var(--ink-kraft); font-family: var(--font-body); font-size: 17px; box-shadow: inset 0 1px 2px rgba(42, 23, 8, 0.12);
  transition: border-color var(--t-micro) var(--ease-ctl), box-shadow var(--t-micro) var(--ease-ctl);
}
#tickets .gn-input::placeholder, .gn-sheet .gn-input::placeholder { color: rgba(42, 23, 8, 0.45); }
#tickets .gn-input:focus, .gn-sheet .gn-input:focus { outline: none; border: 2px solid var(--brass-500); box-shadow: 0 0 0 3px rgba(201, 150, 42, 0.25); }
#tickets .gn-input[aria-invalid="true"], .gn-sheet .gn-input[aria-invalid="true"] { border: 2px solid var(--gate-red); box-shadow: 0 0 0 3px rgba(138, 45, 28, 0.18); }
.gn-err { grid-column: 2; margin: -2px 0 0; font-size: 15px; line-height: 1.45; color: var(--gate-red); }
.gn-err:empty { display: none; }
.gn-note { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--saddle); }
/* the wallet waits for the names: the same half veil the not-live well draws, over the button, taking the tap */
.tg-pay #wallet-row[data-locked]::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 14px; background: var(--control-bg); opacity: 0.5; transition: opacity var(--t-micro) var(--ease-ctl); }
/* Square's Cash App Pay button, where the page has one: the same veil, which takes the tap (its button may be a frame) */
.tg-pay #cash-app-pay[data-locked] { position: relative; }
.tg-pay #cash-app-pay[data-locked]::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-pill); background: var(--control-bg); opacity: 0.5; }
#tickets #wallet-reason.is-bad { color: var(--gate-red); font-weight: 600; }
@media (min-width: 720px) { .gn-list.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; } }

/* the ticket page: one "Edit names" pill under the tickets, and its sheet (cream-sky paper, inputs on white) */
.tk-names { margin-top: 14px; }
dialog.gn-sheet { background: var(--sky-top); color: var(--ink-kraft); max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain; }
dialog.gn-sheet[open] { animation: gnSheetIn 300ms var(--ease-glide) backwards; }
dialog.gn-sheet::backdrop { background: rgba(10, 10, 11, 0.55); }
@keyframes gnSheetIn { from { opacity: 0; transform: translateY(24px); } }
.gn-sheet h2.tg-slab { font-family: var(--font-poster); font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-kraft); margin: 0; outline: none; }
.gn-sheet .gn-lede { margin: 6px 0 14px; }
.gn-sheet .gn-input { background: #fff; }
.gn-sheet .gn-fixed { display: flex; align-items: center; min-height: var(--ctl-h); margin: 0; padding: 0 16px; border-radius: var(--r-field); border: 1px dashed var(--rule-kraft); font-size: 17px; color: var(--ink-kraft); overflow-wrap: anywhere; }
.gn-sheet .row-you { grid-column: 2; margin: -4px 0 0; font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saddle); }
.gn-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.gn-sheet .sheet-actions .tg-pill { padding: 0 12px; }
@media (max-width: 359px) { .gn-sheet .sheet-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .ev-guests, .gn-row, .gn-row.ok .gn-num .gn-tick, dialog.gn-sheet[open] { animation: none; }
  .gn-num, .gn-count, #tickets .gn-input, .gn-sheet .gn-input { transition-duration: 0.001ms; }
}
.gn-sheet .gn-sheet-say { margin: 12px 0 0; }

/* ── THE MOTION SET (Fable, tg-premium2-1027 Part 4; Daniel 10-27 11:55 pm: "instead of cartoonish, more professional
   looking ... Maybe on the My Ticket page, or maybe on the actual sign up page"). Transform and opacity only, on the
   house easings; one stamp curve, one ambient loop (the lantern light); nothing waits in front of a tap or a payment.
   prefers-reduced-motion: every one is off and the page is the settled page. ── */
/* 1. PRINTED, NOT CONJURED: the brass slot over the tickets; on the payment the ticket comes up out of it (clipped by the
   rail's own scroll box) and 2. the star stamps on, once (tickets.js adds .print in showPaid only) */
.tk-slot { position: relative; z-index: 2; height: 14px; margin: 0 8px -8px; border-radius: 7px; pointer-events: none;
  background: linear-gradient(180deg, #f6dc86, #cc9d31 55%, #8f6316); border: 1px solid #5a3d0e;
  box-shadow: inset 0 1px 0 rgba(255, 251, 235, 0.7), 0 2px 6px rgba(0, 0, 0, 0.45); }
.tk-slot::after { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; height: 3px; border-radius: 2px; background: #1a0f06;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 251, 235, 0.35); }
.tk.print { animation: tkPrint 650ms var(--ease-land) both; }
@keyframes tkPrint { from { transform: translateY(calc(-100% - 8px)); } }
.tk.print .tk-seal { animation: tkSeal 220ms cubic-bezier(.2, 1.4, .4, 1) 650ms both; }
@keyframes tkSeal { from { transform: rotate(-14deg) scale(1.5); opacity: 0; } }
/* 4. the lantern light on the hero photograph breathes (the page's one loop); under the scrim, over the lanterns */
.tg-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background: radial-gradient(24% 20% at 86% 46%, rgba(246, 213, 122, 0.4), rgba(246, 213, 122, 0) 70%);   /* the table lantern (measured on the 420 px crop) */
  animation: tgBreathe 5.5s ease-in-out infinite alternate; }
@keyframes tgBreathe { to { opacity: 1; } }
@media (min-width: 720px) { .tg-hero-photo::after { background: radial-gradient(18% 18% at 69% 45%, rgba(246, 213, 122, 0.4), rgba(246, 213, 122, 0) 70%); } }   /* the whole photo shows: the same lantern */
/* 5. the hero's gold word catches the light once on arrival: a soft window travels across it while the copy of the word
   inside the window travels back, so the light shows only on the letters (two transforms, no paint) */
.tg-title .l2 { position: relative; width: fit-content; }   /* the box is the word, so the light crosses the letters, not the empty line after them */
.tg-glint { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; overflow: hidden; pointer-events: none; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000 58%, transparent); mask-image: linear-gradient(90deg, transparent, #000 42%, #000 58%, transparent);
  animation: tgGlintW 1.1s var(--ease-ctl) 0.4s both; }
.tg-glint::before { content: attr(data-t); position: absolute; top: 0; left: 0; width: calc(100% / 0.34); white-space: nowrap; color: rgba(255, 250, 232, 0.95);
  animation: tgGlintT 1.1s var(--ease-ctl) 0.4s both; }
@keyframes tgGlintW { 0% { opacity: 0; transform: translateX(-100%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(300%); } }
@keyframes tgGlintT { from { transform: translateX(34%); } to { transform: translateX(-102%); } }
/* 6. the totals roll (tg-odo.js lays the rolling copy over the text events.js wrote; the text under it is clear only
   while the copy is there) */
.odo-on { position: relative; display: inline-block; }
.odo-on:has(> .odo-ov) { color: transparent !important; }
.odo-ov { position: absolute; inset: 0; display: flex; white-space: pre; pointer-events: none; }
.odo-ov > span { display: block; height: var(--odo-lh); line-height: var(--odo-lh); overflow: hidden; }
.odo-s::before { content: attr(data-c); }
.odo-c { display: block; }
.odo-c::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; display: block; white-space: pre; line-height: var(--odo-lh); }
.odo-c.go { transition: transform 180ms cubic-bezier(0, 0, .2, 1); }
.odo-d.odo-new { animation: tgSwap 180ms var(--ease-ctl) backwards; }
/* 8. a chosen tile or bundle closes like a fitting: the leather and the brass rim come in (180 ms, their own
   transitions above), then the saddle stitch fades in 120 ms after; nothing settles or bounces */
#tickets .chip::after, .tg-tile::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; border: 1px dashed rgba(240, 195, 90, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 120ms var(--ease-ctl); }
.tg-tile::after { border-radius: calc(var(--r-tile) - 4px); }
#tickets .chips-bundles .chip::after { border-radius: calc(var(--r-tile) - 4px); }
.t-raffle-slip #tickets .chips-bundles .chip::after { border-radius: 6px; }
#tickets .chip[aria-pressed="true"]::after, .tg-tile[aria-pressed="true"]::after { opacity: 1; transition-delay: var(--t-ctl); }
/* 10. "Save ticket image" answers in place: "Saved" and a check that draws in from the left (tickets.js), the width the
   same. Transforms only: a window slides across while the check inside it slides back, so the check stays put and is
   uncovered left to right (no stroke animation) */
.tk-save-l { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tk-check-w { display: inline-flex; flex: none; overflow: hidden; animation: tkWipe 320ms var(--ease-land) both; }
.tk-check-w > svg { animation: tkWipeIn 320ms var(--ease-land) both; }
@keyframes tkWipe { from { transform: translateX(-100%); } }
@keyframes tkWipeIn { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .tk.print, .tk.print .tk-seal, .tg-glint, .tg-glint::before { animation: none; }
  .tg-glint { display: none; }
  .tg-hero-photo::after { animation: none; opacity: 0.85; }
  #tickets .chip::after, .tg-tile::after { transition: none; }
  .odo-c.go { transition: none; }
  .tk-check-w, .tk-check-w > svg { animation: none; }
}
