/* ============================================================
   GiverGames "Giving Ticket" design layer.
   Loaded after style.css on pages that carry <body class="tk">.

   The idea: every point is a ticket in the monthly drawing, so the things
   you hold (today's game, your notes, your challenge) are paper objects on
   a navy stage. Colors have jobs:
     teal   = go (play, start, submit)
     coral  = giving and prayer
     yellow = prizes and winning only
   ============================================================ */

body.tk {
  --tk-navy:   #14263D;   /* the stage */
  --tk-navy-2: #1D3554;   /* raised navy */
  --tk-coral:  #FF7A5C;   /* giving and prayer */
  --tk-paper:  #FFF6E2;   /* tickets and notes */
  --tk-mist:   #EDF2F0;   /* light bands */
  --tk-ink:    #14263D;   /* text on paper */
  --tk-ink-soft: #4E5F73;
  --tk-on-navy-soft: #A9B8C8;
  --tk-display: "Bricolage Grotesque", "Arial Black", Inter, system-ui, sans-serif;
  --tk-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Re-point the base tokens so the rest of style.css follows. */
  --ink: var(--tk-navy);
  --ink-2: var(--tk-navy-2);
  --dark: var(--tk-navy);
  --charcoal: var(--tk-ink);
  --off-white: var(--tk-mist);
  --alt: var(--tk-mist);
  --grey: var(--tk-ink-soft);

  /* Light under page content; the dark bands paint their own navy. */
  background: var(--tk-mist);
}

/* ---------- Type ---------- */
body.tk h1, body.tk h2, body.tk h3 { font-family: var(--tk-display); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
body.tk .section-header h2 { font-size: clamp(2.1rem, 6vw, 3.2rem); line-height: 1; }
body.tk .tag { font-family: var(--tk-mono); font-weight: 500; letter-spacing: .12em; border-radius: 6px; }

/* ---------- Bands and perforated edges ---------- */
body.tk .section-ink, body.tk .section-dark, body.tk .site-footer { background: var(--tk-navy); }
body.tk .section-light, body.tk .section-alt, body.tk .section-cream {
  background-color: var(--tk-mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.15 0 0 0 0 0.24 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tk-perf { position: relative; }
.tk-perf::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 12px 9px, var(--tk-above) 7px, transparent 7.5px) 0 0 / 24px 18px repeat-x;
}
.tk-from-dark { --tk-above: var(--tk-navy); }
.tk-from-light { --tk-above: var(--tk-mist); }

/* ---------- Buttons: teal means go ---------- */
body.tk .btn-primary, body.tk .btn-nav {
  background: var(--teal); color: var(--tk-navy); font-family: var(--tk-display); font-weight: 800;
  box-shadow: 0 4px 0 #0B8F83; transition: transform .12s, box-shadow .12s;
}
body.tk .btn-primary:hover, body.tk .btn-nav:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 6px 0 #0B8F83; }
body.tk .btn-primary:active, body.tk .btn-nav:active { transform: translateY(3px); box-shadow: 0 1px 0 #0B8F83; }

/* ---------- Nav ---------- */
body.tk .site-nav { background: rgba(20, 38, 61, .94); border-bottom-color: rgba(255,255,255,.08); }
body.tk .nav-wordmark { font-family: var(--tk-display); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
body.tk .hero { background: var(--tk-navy); }
body.tk .hero-bg { display: none; }
body.tk .hero-simple h1 { font-size: clamp(3.1rem, 12vw, 6.6rem); line-height: .95; letter-spacing: -0.045em; margin-bottom: 40px; }
.tk-give { position: relative; display: inline-block; }
.tk-swoosh { position: absolute; left: -2%; bottom: -0.14em; width: 106%; height: .3em; overflow: visible; }
.tk-swoosh path { fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 520; animation: tk-draw 1s .3s ease-out both; }
@keyframes tk-draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }

/* Community meter: a fundraiser thermometer. */
body.tk .cm { background: transparent; border: 0; padding: 0; max-width: 640px; }
body.tk .cm-week { font-weight: 600; color: var(--tk-on-navy-soft); }
body.tk .cm-week b { display: block; font-family: var(--tk-display); font-size: clamp(2.6rem, 9vw, 3.4rem); line-height: 1; color: #fff; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
body.tk .cm-goal-top { font-family: var(--tk-mono); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tk-on-navy-soft); }
body.tk .cm-goal-top #cmCount { color: #fff; font-family: var(--tk-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
body.tk .cm-bar { position: relative; height: 22px; padding: 3px; background: var(--tk-navy-2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
body.tk .cm-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.12) calc(10% - 1px) 10%); }
body.tk .cm-fill { min-width: 16px; background: var(--tk-coral); }
body.tk .cm-payoff { color: #fff; }

/* ---------- Today ---------- */
body.tk .today .section-header .tag { display: none; }
body.tk #todayDate { font-size: clamp(1.9rem, 6vw, 2.8rem); }

/* Today's game as a ticket: paper, a dashed tear line, and a stub. */
body.tk .today-card--featured.tk-ticket {
  --notch: 14px;
  display: grid; grid-template-columns: 1fr; gap: 0; padding: 0;
  background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 18px;
  filter: drop-shadow(0 18px 30px rgba(6, 16, 30, .35));
  animation: tk-print .9s .15s cubic-bezier(.2,.9,.25,1) both;
}
body.tk .today-card--featured.tk-ticket::before, body.tk .today-card--featured.tk-ticket::after { content: none; }
body.tk a.today-card--featured.tk-ticket:hover { background: var(--tk-paper); }
@keyframes tk-print { from { transform: translateY(26px) rotate(-1.5deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tk-main { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 24px; min-width: 0; }
body.tk .tk-ticket .today-label { font-family: var(--tk-mono); font-weight: 500; letter-spacing: .12em; color: var(--tk-ink-soft); opacity: 1; }
body.tk .tk-ticket .today-game-name { font-family: var(--tk-display); font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: .95; letter-spacing: -0.035em; color: var(--tk-ink); margin: 6px 0 4px; }
body.tk .tk-ticket .today-game-tagline { color: var(--tk-ink-soft); max-width: 44ch; }
body.tk .tk-ticket .today-go {
  align-self: flex-start; margin-top: 14px; padding: 14px 24px; border-radius: 999px;
  background: var(--teal); color: var(--tk-navy); font-family: var(--tk-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 0 #0B8F83; transition: transform .12s, box-shadow .12s;
}
body.tk a.tk-ticket:hover .today-go { transform: translateY(-2px); box-shadow: 0 6px 0 #0B8F83; }
.tk-stub {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 24px; border-top: 2px dashed rgba(20, 38, 61, .25);
  background: var(--game-color, var(--teal)); border-radius: 0 0 18px 18px; color: var(--tk-ink);
}
.tk-stub::before, .tk-stub::after {
  content: ""; position: absolute; top: calc(-1 * var(--notch) - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--tk-navy);
}
.tk-stub::before { left: calc(-1 * var(--notch)); }
.tk-stub::after { right: calc(-1 * var(--notch)); }
.tk-stub-day { font-family: var(--tk-display); font-weight: 800; font-size: 2.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-stub-sub { font-family: var(--tk-mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 760px) {
  body.tk .today-card--featured.tk-ticket { grid-template-columns: 1fr 210px; }
  .tk-main { padding: 32px 32px 30px; }
  .tk-stub { flex-direction: column; justify-content: center; text-align: center; border-top: 0; border-left: 2px dashed rgba(20, 38, 61, .25); border-radius: 0 18px 18px 0; }
  .tk-stub::before, .tk-stub::after { left: calc(-1 * var(--notch) - 1px); right: auto; }
  .tk-stub::before { top: calc(-1 * var(--notch)); }
  .tk-stub::after { top: auto; bottom: calc(-1 * var(--notch)); }
  .tk-stub-day { font-size: 4rem; }
}

/* Countdown: a flip board. */
body.tk .today-card--count { background: var(--tk-navy-2); border: 0; }
body.tk .today-card--count .today-label { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-on-navy-soft); opacity: 1; }
body.tk .today-count span { color: var(--tk-on-navy-soft); font-family: var(--tk-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
body.tk .today-count b {
  position: relative; display: block; overflow: hidden; margin-bottom: 6px; padding: .28em 0; border-radius: 8px;
  background: var(--tk-navy); color: #fff; font-family: var(--tk-mono); font-weight: 500; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
body.tk .today-count b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.5); }
body.tk .today-count b.tk-flip { animation: tk-flip .35s ease-in-out; }
@keyframes tk-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
body.tk .today-card--count .today-go { color: var(--teal); }

/* Notes from givers: paper slips. */
body.tk .gc-ticker {
  background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 4px; transform: rotate(-0.8deg);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
body.tk .gc-ticker-label { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-coral); background: transparent; }
body.tk .gc-ticker-text b { color: var(--tk-coral); font-family: var(--tk-mono); font-weight: 500; font-size: .85em; }

/* The 9 O'Clock Update: a slip of navy paper. */
body.tk .n9 { background: var(--tk-navy-2); border: 0; }
body.tk .n9-kicker { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-coral); }

/* Prayer (and the Advent and Sunday banners): coral, the giving color. */
body.tk #todayPray, body.tk .today-advent {
  background: transparent; color: #fff; border: 2px solid var(--tk-coral); border-radius: 18px;
}
body.tk #todayPray:hover, body.tk .today-advent:hover { background: rgba(255,122,92,.1); }
body.tk .today-advent .today-label { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-coral); opacity: 1; }
body.tk .today-advent strong { font-family: var(--tk-display); font-weight: 800; font-size: 1.35rem; }
body.tk .today-advent > span:last-child { color: var(--tk-on-navy-soft); }

/* ---------- Generosity Challenge ---------- */
body.tk .gc-section .tag { color: var(--tk-coral); background: transparent; padding: 0; }
body.tk .gc-section .section-sub { color: var(--tk-ink-soft); }
body.tk .gc-kind, body.tk .section-cream .gc-kind {
  background: #fff; color: var(--tk-ink); border: 2px solid var(--tk-ink); border-radius: 12px;
  font-family: var(--tk-display); font-weight: 800; box-shadow: 3px 3px 0 var(--tk-ink); transition: transform .1s, box-shadow .1s;
}
body.tk .gc-kind:hover:not([disabled]), body.tk .section-cream .gc-kind:hover:not([disabled]) { background: #fff; border-color: var(--tk-ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tk-ink); }
body.tk .gc-kind.is-active, body.tk .section-cream .gc-kind.is-active { background: var(--tk-coral); border-color: var(--tk-ink); color: var(--tk-navy); }
body.tk .gc-kind--surprise, body.tk .section-cream .gc-kind--surprise { background: var(--tk-navy); color: var(--tk-paper); border-color: var(--tk-navy); }
body.tk .section-cream .gc-kind--surprise:hover:not([disabled]) { background: var(--tk-navy); border-color: var(--tk-navy); }

/* The challenge itself: a taped-up index card. */
body.tk .gc-panel, body.tk .section-cream .gc-panel {
  position: relative; margin-top: 8px; background-color: #fff; color: var(--tk-ink); border: 0; border-radius: 6px;
  padding: 32px 24px 24px; transform: rotate(-0.6deg); box-shadow: 0 18px 32px rgba(20,38,61,.14);
  background-image: linear-gradient(var(--tk-coral), var(--tk-coral)), repeating-linear-gradient(transparent 0 31px, rgba(19,199,182,.2) 31px 32px);
  background-size: 100% 3px, 100% 100%; background-repeat: no-repeat, repeat; background-position: 0 0, 0 58px;
}
body.tk .gc-panel::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(253,205,44,.55); transform: rotate(2deg);
}
body.tk .gc-kicker, body.tk .section-cream .gc-kicker { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-coral); }
body.tk .gc-act { font-family: var(--tk-display); font-weight: 800; letter-spacing: -0.02em; }
body.tk .gc-btn { background: var(--teal); color: var(--tk-navy); font-family: var(--tk-display); box-shadow: 0 4px 0 #0B8F83; }
body.tk .gc-btn--ghost, body.tk .section-cream .gc-btn--ghost { background: transparent; color: var(--tk-ink); border: 2px solid var(--tk-ink); box-shadow: none; }
/* A finished challenge gets stamped. */
body.tk .gc-done-pts, body.tk .section-cream .gc-done-pts {
  display: inline-block; margin: 14px 0; padding: 8px 12px; background: transparent; color: var(--teal-dk);
  border: 3px solid currentColor; border-radius: 8px; font-family: var(--tk-display); font-weight: 800;
  transform: rotate(-3deg); animation: tk-stamp .35s cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes tk-stamp { from { transform: rotate(-3deg) scale(1.7); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
body.tk .gc-code, body.tk .section-cream .gc-code { font-family: var(--tk-mono); background: var(--tk-paper); color: var(--tk-ink); border: 2px dashed rgba(20,38,61,.35); }
body.tk .gc-streak, body.tk .section-cream .gc-streak { font-weight: 600; }

/* ---------- This month: the game card as a ticket ---------- */
body.tk .bento-card {
  position: relative; background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
}
body.tk .bento-card:hover { background: var(--tk-paper); }
body.tk .bento-card h3 { color: var(--tk-ink); font-size: 1.6rem; }
body.tk .bento-card p, body.tk .bento-card p.bento-status { color: var(--tk-ink-soft); }
body.tk .bento-icon { background: var(--tk-navy); color: var(--teal); }
body.tk #this-month .tag { color: var(--teal); background: transparent; padding: 0; }

/* ---------- How it works: four ticket stubs ---------- */
body.tk .steps { gap: 14px; }
body.tk .step-card {
  --notch: 10px; position: relative; overflow: visible; background: var(--tk-paper); color: var(--tk-ink);
  border: 0; border-radius: 14px; padding: 18px 18px 24px; text-align: left; box-shadow: 0 10px 22px rgba(20,38,61,.1);
}
body.tk .step-card:hover { transform: none; }
body.tk .step-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 56px; border-top: 2px dashed rgba(20,38,61,.2);
}
body.tk .step-card::after {
  content: ""; position: absolute; left: calc(-1 * var(--notch)); right: calc(-1 * var(--notch)); top: calc(57px - var(--notch)); height: calc(var(--notch) * 2);
  background: radial-gradient(circle at var(--notch) 50%, var(--tk-mist) var(--notch), transparent calc(var(--notch) + .5px)) left / 50% 100% no-repeat,
              radial-gradient(circle at calc(100% - var(--notch)) 50%, var(--tk-mist) var(--notch), transparent calc(var(--notch) + .5px)) right / 50% 100% no-repeat;
}
body.tk .step-icon { width: 30px; height: 30px; margin: 0 0 0 auto; background: transparent; border: 0; float: right; }
body.tk .step-label { font-family: var(--tk-mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; color: var(--tk-ink-soft); margin: 4px 0 0; }
body.tk .step-label::before { content: "Step "; }
body.tk .step-card p { clear: both; margin-top: 34px; font-family: var(--tk-display); font-weight: 800; font-size: clamp(1.3rem, 3.6vw, 1.7rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--tk-ink); }
/* "Win prizes." is the one yellow stub: yellow means prizes. */
body.tk .step-card:nth-child(2) { background: var(--yellow); }

/* ---------- Leaderboards ---------- */
body.tk #leaderboard .lb-title { font-family: var(--tk-display); color: #fff; }
body.tk .lb-badge { background: var(--tk-navy-2); color: var(--teal); border: 1.5px solid rgba(255,255,255,.15); }
body.tk .lb-board--instagram .lb-badge { background: var(--tk-navy-2); color: var(--tk-coral); }
body.tk .lb-table { background: transparent; border: 0; box-shadow: none; display: grid; gap: 8px; }
body.tk .lb-header { display: none; }
body.tk .lb-row { background: var(--tk-navy-2); border: 0; border-radius: 12px; padding: 12px 16px; }
body.tk .lb-row:hover { background: #24406A; }
body.tk .lb-rank { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-on-navy-soft); background: transparent; }
body.tk .lb-rank.rank-1 { color: var(--yellow); background: transparent; }
body.tk .lb-name { color: #fff; }
body.tk .pts-chip { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-family: var(--tk-display); font-weight: 800; font-size: 1.1rem; padding: 0; }
body.tk .pts-chip::before {
  content: ""; width: 22px; height: 14px; border-radius: 2px; background: var(--teal);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 100% no-repeat;
}
body.tk #leaderboard .lb-draw-note { color: var(--tk-on-navy-soft); }

/* ---------- Winners: stamped cards ---------- */
body.tk .winner-entry { position: relative; overflow: hidden; background: #fff; border: 0; border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 10px 24px rgba(20,38,61,.08); }
body.tk .winner-entry:not(.winner-entry--pending)::after {
  content: "WINNER"; position: absolute; right: -4px; top: 16px; padding: 6px 10px;
  font-family: var(--tk-display); font-weight: 800; font-size: .9rem; letter-spacing: .12em;
  color: #C99700; border: 3px solid #C99700; border-radius: 6px; transform: rotate(12deg); opacity: .85;
}
body.tk .winner-entry--pending { background: transparent; border: 2px dashed rgba(20,38,61,.25); box-shadow: none; }
body.tk .winner-entry .tag { font-family: var(--tk-mono); background: transparent; color: var(--tk-ink-soft); padding: 0; }
body.tk .winner-name { font-family: var(--tk-display); font-weight: 800; font-size: 1.4rem; padding-right: 90px; }
body.tk .winner-plat { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-coral); }

/* ---------- Email ---------- */
body.tk .email-input { background: var(--tk-navy-2); border-color: rgba(255,255,255,.15); }

/* ---------- FAQ ---------- */
body.tk .faq-item { background: #fff; border: 2px solid var(--tk-ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--tk-ink); overflow: hidden; }
body.tk .faq-q { font-family: var(--tk-display); font-weight: 800; color: var(--tk-ink); }
body.tk .faq-q:hover { background: var(--tk-paper); }
body.tk .faq-q[aria-expanded="true"] { color: var(--tk-ink); background: var(--tk-paper); }
body.tk .faq-plus { color: var(--tk-coral); }
body.tk .faq-a { background: var(--tk-paper); }

/* ---------- Footer ---------- */
body.tk .footer-wordmark { font-family: var(--tk-display); font-weight: 800; }
body.tk .footer-verse cite { font-family: var(--tk-mono); }

@media (prefers-reduced-motion: reduce) {
  .tk-swoosh path, body.tk .today-card--featured.tk-ticket, body.tk .today-count b.tk-flip, body.tk .gc-done-pts { animation: none; }
}

/* ---------- Polish ---------- */
body.tk .step-icon { display: none; }
body.tk .step-label { margin: 0; }
body.tk .step-card p { margin-top: 30px; }
body.tk .winner-name { line-height: 1.1; margin: 10px 0 10px; }
body.tk .winner-board { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; margin-top: 6px; }
body.tk .winner-plat { min-width: 0; }
body.tk .winner-entry--pending .winner-board { display: block; }
/* Winners Wall: a fixed-height box showing the newest 4 winners; scroll inside for older ones. */
#winners .ww-box {
  position: relative; display: grid; gap: 16px; max-height: 760px; overflow-y: auto;
  padding: 4px 6px 20px; margin: 0 -6px; scrollbar-width: thin; scrollbar-color: rgba(20,38,61,.35) transparent;
  -webkit-mask: linear-gradient(#000 calc(100% - 36px), transparent); mask: linear-gradient(#000 calc(100% - 36px), transparent);
}
#winners .ww-box.is-end { -webkit-mask: none; mask: none; }
#winners .ww-box:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 12px; }
#winners .ww-month {
  position: sticky; top: 0; z-index: 3; margin: 8px 0 -4px; padding: 10px 2px 8px;
  background: var(--tk-mist, #EDF2F0); color: var(--tk-ink, #14263D);
  font-family: var(--tk-mono, ui-monospace, monospace); font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px dashed rgba(20,38,61,.22);
}
#winners .ww-month:first-child { margin-top: 0; }
#winners .ww-more { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--tk-ink-soft, #4E5F73); }
#winners .ww-more[hidden] { display: none; }
body.tk .winner-prize { font-family: var(--tk-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #9A7400; margin: -4px 0 8px; }
body.tk #winners .winner-entry { margin: 0; }
body.tk .faq-plus { font-size: 1.5rem; font-weight: 400; }

/* ============================================================
   INTERIOR PAGES: the same ticket language as the home page.
   ============================================================ */

/* ---------- Page heroes: navy band, mono kicker, perforated edge ---------- */
body.tk .pr-hero, body.tk .dev-hero, body.tk .vv-hero, body.tk .rs-hero, body.tk .passport-hero {
  position: relative; background: var(--tk-navy); padding-bottom: 56px;
}
body.tk .pr-hero::after, body.tk .dev-hero::after, body.tk .vv-hero::after, body.tk .rs-hero::after, body.tk .passport-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 12px 9px, var(--tk-mist) 7px, transparent 7.5px) 0 0 / 24px 18px repeat-x;
}
body.tk .pr-hero h1, body.tk .dev-hero h1, body.tk .vv-hero h1, body.tk .rs-hero h1, body.tk .passport-hero h1, body.tk .games-head h2 {
  font-family: var(--tk-display); font-weight: 800; font-size: clamp(2.3rem, 9vw, 3.6rem); line-height: 1; letter-spacing: -0.035em;
  text-transform: none; color: #fff; background: none; -webkit-text-fill-color: currentColor; filter: none;
}
body.tk .pr-hero .tag, body.tk .dev-hero .tag, body.tk .vv-hero .tag, body.tk .rs-hero .tag, body.tk .games-head .tag {
  background: transparent; border: 0; padding: 0; color: var(--teal);
}
/* Prayer, devotionals and verses are the giving side: coral. */
body.tk .pr-hero .tag, body.tk .dev-hero .tag, body.tk .vv-hero .tag { color: var(--tk-coral); }
body.tk .games-head p { color: var(--tk-on-navy-soft); }

/* Shared: paper card, ink-outlined button card, teal go button, mono kicker. */
body.tk .pr-step, body.tk .vv-kicker, body.tk .rs-kicker, body.tk .dev-entry-date, body.tk .pp-board-label, body.tk .pp-platform-label, body.tk .pp-lt-lbl {
  font-family: var(--tk-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
body.tk .pr-btn, body.tk .vv-btn, body.tk .rs-btn, body.tk .auth-btn--primary {
  background: var(--teal); color: var(--tk-navy); border: 0; font-family: var(--tk-display); font-weight: 800;
  box-shadow: 0 4px 0 #0B8F83; transition: transform .12s, box-shadow .12s;
}
body.tk .pr-btn:hover:not([disabled]), body.tk .vv-btn:hover:not([disabled]), body.tk .rs-btn:hover, body.tk .auth-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0B8F83; }
body.tk .pr-btn--ghost, body.tk .vv-btn--ghost, body.tk .auth-btn--ghost { background: transparent; color: var(--tk-ink); border: 2px solid var(--tk-ink); box-shadow: none; }

/* ---------- Games page: every game is a ticket ---------- */
body.tk .section-dnd { background: var(--tk-navy); border-top: 0; }
body.tk .game-card, body.tk .game-card.is-featured {
  --notch: 12px;
  background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 18px; padding: 16px 22px 24px; overflow: visible;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  -webkit-mask: radial-gradient(circle at 0 158px, transparent 12px, #000 12.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 158px, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 158px, transparent 12px, #000 12.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 158px, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
}
body.tk .game-card::after { content: ""; position: absolute; left: 18px; right: 18px; top: 157px; border-top: 2px dashed rgba(20,38,61,.25); z-index: 1; }
body.tk .card-bulbs { display: none !important; }
/* The game's art sits in a navy window, like a stage, so its colors still pop. */
body.tk .game-art { height: 118px; margin: 0 0 40px; border-radius: 12px; background: var(--tk-navy); align-self: stretch; width: auto; max-width: none; justify-content: center; padding: 0 10px; }
body.tk .game-card .game-card-h, body.tk .game-card.is-featured .game-card-h, body.tk .game-card h3 {
  font-family: var(--tk-display); font-weight: 800; font-size: 1.75rem; line-height: 1.02; letter-spacing: -0.03em; text-transform: none;
  color: var(--tk-ink); background: none; -webkit-text-fill-color: currentColor; filter: none; margin-bottom: 8px;
}
body.tk .game-card p { color: var(--tk-ink-soft); }
body.tk .game-card .btn-fun { color: var(--tk-ink); }
body.tk .game-state, body.tk .game-card:not(.is-featured):not(.game-teaser) .game-state, body.tk .game-teaser .game-state {
  position: static !important; align-self: flex-start; margin: 0 0 10px; padding: 0; border-radius: 0; background: transparent;
  font-family: var(--tk-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; line-height: 1.5; color: var(--tk-ink-soft);
}
/* Today's featured game gets stamped. */
body.tk .game-card.is-featured { box-shadow: 0 16px 30px rgba(0,0,0,.35), 0 0 0 4px var(--teal); -webkit-mask: none; mask: none; }
body.tk .game-card.is-featured::before {
  content: ""; position: absolute; left: -5px; right: -5px; top: calc(158px - var(--notch) - 1px); height: calc(var(--notch) * 2 + 2px); z-index: 2;
  background: radial-gradient(circle at 0 50%, var(--tk-navy) calc(var(--notch) + 4px), transparent calc(var(--notch) + 4.5px)) left / 50% 100% no-repeat,
              radial-gradient(circle at 100% 50%, var(--tk-navy) calc(var(--notch) + 4px), transparent calc(var(--notch) + 4.5px)) right / 50% 100% no-repeat;
}
body.tk .game-card.is-featured .game-state {
  padding: 5px 10px; border: 3px solid var(--teal-dk); border-radius: 8px; color: var(--teal-dk); font-family: var(--tk-display); font-weight: 800;
  letter-spacing: .06em; transform: rotate(-3deg); margin-bottom: 14px;
}

/* ---------- Pray ---------- */
body.tk .pr-step { color: var(--tk-coral); }
body.tk .pr-camp {
  background: #fff; color: var(--tk-ink); border: 2px solid var(--tk-ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--tk-ink);
}
body.tk .pr-camp:hover { background: #fff; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tk-ink); }
body.tk .pr-camp[aria-pressed="true"] { background: #FFE4DC; border-color: var(--tk-ink); box-shadow: 3px 3px 0 var(--tk-coral); }
body.tk .pr-camp b { font-family: var(--tk-display); font-weight: 800; }
body.tk .pr-view { color: var(--teal-dk); }
body.tk .pr-form, body.tk .pr-guest, body.tk .pr-done {
  position: relative; background-color: #fff; color: var(--tk-ink); border: 0; border-radius: 6px; box-shadow: 0 18px 32px rgba(20,38,61,.14);
  background-image: linear-gradient(var(--tk-coral), var(--tk-coral)); background-size: 100% 3px; background-repeat: no-repeat;
}
body.tk .pr-form::before, body.tk .pr-guest::before, body.tk .pr-done::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(253,205,44,.55); transform: rotate(2deg);
}
body.tk .pr-form textarea { border: 2px solid var(--tk-ink); border-radius: 10px; }
body.tk .pr-done h2, body.tk .pr-guest h2 { font-family: var(--tk-display); font-weight: 800; }
body.tk .pr-pts {
  display: inline-block; padding: 6px 12px; border: 3px solid var(--teal-dk); border-radius: 8px; color: var(--teal-dk); background: transparent;
  font-family: var(--tk-display); font-weight: 800; transform: rotate(-3deg); animation: tk-stamp .35s cubic-bezier(.3,1.6,.5,1) both;
}

/* ---------- Devotional ---------- */
body.tk .vv-spot h2 { font-family: var(--tk-display); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.4rem); }
body.tk .vv-spot-cta { color: var(--teal-dk); }
body.tk .dev-entry {
  position: relative; background-color: #fff; border: 0; border-radius: 6px; box-shadow: 0 18px 32px rgba(20,38,61,.12);
  background-image: linear-gradient(var(--tk-coral), var(--tk-coral)); background-size: 100% 3px; background-repeat: no-repeat;
}
body.tk .dev-entry::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(253,205,44,.55); transform: rotate(-2deg);
}
body.tk .dev-entry-date { color: var(--tk-coral); }
body.tk .dev-entry h2 { font-family: var(--tk-display); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.05; color: var(--tk-ink); }
body.tk .dev-entry-verse { border-left-color: var(--tk-coral); background: var(--tk-paper); }
body.tk .dev-entry-verse cite { font-family: var(--tk-mono); font-style: normal; color: var(--tk-coral); }

/* ---------- Bible Verse Video ---------- */
body.tk .vv-card { background: #fff; color: var(--tk-ink); border: 0; border-radius: 16px; box-shadow: 0 12px 26px rgba(20,38,61,.1); }
/* Today's verse is the ticket: paper, notches, tear line above the reference. */
body.tk .vv-card:first-child { background: var(--tk-paper); }
body.tk .vv-kicker { color: var(--tk-coral); }
body.tk .vv-verse { font-family: var(--tk-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
body.tk .vv-ref { font-family: var(--tk-mono); font-weight: 500; color: var(--tk-ink-soft); border-top: 2px dashed rgba(20,38,61,.22); padding-top: 12px; margin-top: 14px; }

/* ---------- Results ---------- */
body.tk .rs-card { background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 18px; box-shadow: 0 12px 26px rgba(20,38,61,.1); }
body.tk .rs-kicker { color: var(--teal-dk); }
body.tk .rs-big, body.tk .rs-big b { font-family: var(--tk-display); font-weight: 800; letter-spacing: -0.03em; }
body.tk .rs-board { background: #fff; border-radius: 12px; }
body.tk .rs-board b { font-family: var(--tk-display); font-weight: 800; }
body.tk .rs-door { background: #fff; border: 2px solid var(--tk-ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--tk-ink); }
body.tk .rs-door:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tk-ink); border-color: var(--tk-ink); }
body.tk .rs-door .rs-when { font-family: var(--tk-mono); font-weight: 500; letter-spacing: .1em; color: var(--tk-coral); }
body.tk .rs-door h3 { font-family: var(--tk-display); font-weight: 800; }
body.tk .rs-main h2 { font-family: var(--tk-display); font-weight: 800; }

/* ---------- Account (Passport) ---------- */
body.tk.passport-page { background: var(--tk-mist); }
body.tk .passport-streak { background: transparent; border: 2px solid var(--tk-coral); }
body.tk .pp-section { background: #fff; border: 0; border-radius: 16px; box-shadow: 0 12px 26px rgba(20,38,61,.08); }
body.tk .pp-board {
  position: relative; background: var(--tk-paper); color: var(--tk-ink); border: 0; border-radius: 14px;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 10px, #000 10.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 10px, #000 10.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 10px, #000 10.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 10px, #000 10.5px) right / 51% 100% no-repeat;
}
body.tk .pp-board-pts, body.tk .pp-lt-val { font-family: var(--tk-display); font-weight: 800; color: var(--tk-ink); }
body.tk .auth-card { border-radius: 16px; box-shadow: 0 18px 40px rgba(20,38,61,.2); }
body.tk .auth-card h2 { font-family: var(--tk-display); font-weight: 800; }
body.tk .gg-cel-card { background: var(--tk-paper); }
body.tk .gg-cel-points { font-family: var(--tk-display); font-weight: 800; }
/* Case art: center however many cases a card shows. */
body.tk .game-art.dnd-promo-cases { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 50px); justify-content: center; align-content: center; gap: 8px; }

/* Pray: the panel that opens under a campaign (pray on GiveSendGo, then "I prayed"). */
body.tk .pr-camp-wrap.is-open .pr-camp { box-shadow: none; transform: none; background: #FFE4DC; }
body.tk .pr-panel { background: var(--tk-paper); border-color: var(--tk-ink); box-shadow: 3px 3px 0 var(--tk-ink); color: var(--tk-ink); }
body.tk .pr-panel li::marker { font-family: var(--tk-mono); color: var(--tk-coral); }
body.tk .pr-btn--coral { background: var(--tk-coral); color: var(--tk-navy); box-shadow: 0 4px 0 #D4583D; }
body.tk .pr-btn--coral:hover:not([disabled]) { box-shadow: 0 6px 0 #D4583D; }
body.tk .pr-done { position: relative; border-radius: 6px; }
#winners .ww-loading { margin: 0; padding: 24px 0; text-align: center; color: var(--tk-ink-soft, #4E5F73); }
body.tk .winner-each { font-family: var(--tk-mono); font-size: .78rem; color: #9A7400; }
