/* Crowd Theory — the web replica (v0.54). One rule: look EXACTLY like
   the app. Every value below is lifted from src/theme.ts ("Midnight
   Blue" tokens) and the component StyleSheets — if the app changes skin,
   change it here too. */
:root {
  --bg: #EDF2F9;
  --surface: #FFFFFF;
  --hairline: #DBE4F0;
  --ink-deep: #14213C;
  --card: #111B30;
  --card-edge: #26365A;
  --on-card: #F4F7FC;
  --on-card-dim: #8FA0BC;
  --mint: #54A6FF;
  --mint-soft: #E3EEFF;
  --teal: #2F7DF6;
  --amber: #F29B1D;
  --amber-soft: #FDF1DE;
  --amber-text: #B26A08;
  --ink-2: #5A6B85;
  --ink-3: #93A2B8;
  --grad-card: linear-gradient(135deg, #111B30, #1D2C4C);
  --grad-fill: linear-gradient(90deg, #2E6BE6, #57ABFF);
  --r-button: 20px;
  --r-card: 24px;
  --r-chip: 12px;
  --shadow: 0 6px 16px rgba(31, 59, 112, 0.10);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-deep);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button { font-family: var(--sans); border: none; background: none; cursor: pointer; color: inherit; }
.wrap { max-width: 480px; margin: 0 auto; padding: 12px 16px 40px; }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- the app bar: people pill · brand · countdown ---------- */
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0 2px; }
.hpill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 6px 12px;
  font-size: 13px; font-weight: 800; color: var(--teal);
  box-shadow: var(--shadow);
}
.hpill svg { display: block; }
.brand { font-size: 15px; font-weight: 800; letter-spacing: 3.5px; color: var(--ink-deep); }
.subnote {
  text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3);
  margin: 8px 0 18px;
}
.subnote a { color: var(--teal); font-weight: 800; text-decoration: none; }

/* ---------- Part 1 (quiet, like the home screen) ---------- */
.eyebrow-quiet {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--ink-3); margin-bottom: 10px;
}
.question {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.4px;
  font-size: 31px; line-height: 1.22; text-align: center;
  margin: 0 auto 18px; max-width: 420px;
}
.answers { display: grid; gap: 10px; }
.answer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer {
  min-height: 100px; border-radius: var(--r-card);
  border: 1px solid var(--hairline); background: var(--surface);
  font-size: 21px; font-weight: 700; color: var(--ink-deep);
  box-shadow: var(--shadow); transition: transform 0.12s, background 0.15s, color 0.15s;
}
.answer:active { transform: scale(1.03); background: var(--card); color: var(--mint); }
.answer.excl {
  min-height: 52px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: var(--ink-2); grid-column: 1 / -1;
}

/* ---------- the "You said" pill ---------- */
.yousaid {
  display: block; margin: 0 auto 14px; width: fit-content;
  background: var(--surface); border-radius: 999px; padding: 10px 22px;
  font-size: 15px; font-weight: 600; color: var(--ink-deep);
  box-shadow: var(--shadow);
}
.yousaid strong { color: var(--teal); font-weight: 800; }

/* ---------- the dark game card (Part 2 + reveal) ---------- */
.gamecard {
  position: relative;
  background: var(--grad-card); border-radius: var(--r-card);
  padding: 22px 18px 20px; color: var(--on-card);
  box-shadow: 0 10px 24px rgba(17, 27, 48, 0.28);
}
.livepill {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--on-card-dim);
}
.livepill .dot { width: 7px; height: 7px; border-radius: 4px; background: #E4557A; }
.p2eyebrow {
  text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 1.8px;
  color: var(--mint); margin-bottom: 4px;
}
.p2title {
  font-family: var(--serif); font-size: 30px; font-weight: 700; text-align: center;
  color: #FFFFFF; margin-bottom: 10px; letter-spacing: -0.4px;
}
.p2ask { font-size: 17.5px; font-weight: 600; text-align: center; color: var(--on-card); max-width: 330px; margin: 0 auto 4px; }
.p2sub { font-size: 12px; text-align: center; color: var(--on-card-dim); margin-top: 2px; }
.guessLabel {
  text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 1.8px;
  color: var(--on-card-dim); margin-top: 18px;
}
.bignum {
  text-align: center; font-size: 52px; line-height: 1.1; font-weight: 800;
  letter-spacing: -1px; color: #FFFFFF; font-variant-numeric: tabular-nums;
}
.bignum .pct { font-size: 30px; vertical-align: 6px; }
.ticks {
  display: flex; justify-content: space-between;
  font-size: 12.5px; font-weight: 700; color: var(--on-card-dim);
  margin: 14px 2px 6px;
}
.sliderZone { position: relative; padding: 6px 0 4px; }
input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%;
  height: 18px; border-radius: 9px; outline: none;
  background: linear-gradient(90deg, #2E6BE6 0%, #57ABFF 50%, rgba(255, 255, 255, 0.12) 50%);
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 14px; background: #FFFFFF;
  border: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); cursor: grab;
}
input[type='range']::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 14px; background: #FFFFFF;
  border: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); cursor: grab;
}
.finger {
  position: absolute; left: 50%; top: 34px; font-size: 26px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
  animation: nudge 1.6s ease-in-out infinite; pointer-events: none;
}
@keyframes nudge {
  0%, 100% { transform: translateX(-24px); }
  50% { transform: translateX(18px); }
}
.lockbtn {
  display: block; width: 100%; margin-top: 40px;
  background: rgba(244, 247, 252, 0.92); color: var(--ink-deep);
  border-radius: var(--r-button); padding: 15px; font-size: 16.5px; font-weight: 800;
  transition: opacity 0.15s;
}
.lockbtn:disabled { opacity: 0.35; cursor: default; }
.lockhint { text-align: center; font-size: 12px; color: var(--on-card-dim); margin-top: 10px; }
.draghint { text-align: center; font-size: 14.5px; color: var(--ink-2); margin: 14px 0 4px; }

/* ---------- reveal internals ---------- */
.revealTrack { position: relative; height: 108px; margin: 26px 2px 0; }
.rbar { position: absolute; top: 45px; left: 0; right: 0; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.rfill { height: 100%; border-radius: 9px; background: var(--grad-fill); transition: width 1.05s cubic-bezier(0.4, 0, 0.2, 1); }
.rmark { position: absolute; top: 18px; width: 2.5px; height: 44px; background: #fff; margin-left: -1px; transition: left 1.05s cubic-bezier(0.4, 0, 0.2, 1); }
.rmark .knob { position: absolute; top: -7px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.rmark.crowd { top: 48px; background: var(--mint); }
.rmark.crowd .knob { background: var(--mint); top: auto; bottom: -7px; }
.rmark .tag { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--on-card-dim); white-space: nowrap; }
.rmark.you .tag { top: -22px; }
.rmark.crowd .tag { bottom: -20px; color: var(--mint); }
.crowdNumRow { text-align: center; margin-top: 34px; }
.crowdLabel { font-size: 12.5px; font-weight: 800; letter-spacing: 1.8px; color: var(--mint); }
.crowdNum { font-size: 44px; font-weight: 800; letter-spacing: -1px; color: var(--mint); font-variant-numeric: tabular-nums; }
.awayRow { text-align: center; margin-top: 8px; }
.awayNum { font-size: 58px; font-weight: 800; letter-spacing: -1.5px; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.awayLbl { font-size: 15px; font-weight: 800; letter-spacing: 3px; color: var(--on-card-dim); margin-left: 8px; }

/* ---------- light result cards (rating + standing pair) ---------- */
.pairRow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pairRow > * { min-width: 0; }
.wcard {
  background: var(--surface); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 14px;
  text-align: left; display: flex; align-items: center; gap: 8px;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.wcard .grow { flex: 1; min-width: 0; }
.pairHead { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.chip28 {
  width: 26px; height: 26px; border-radius: 13px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber-soft); font-size: 13px;
}
.chip28.tealbg { background: var(--mint-soft); }
.cardLabel { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cardBig { display: block; font-size: 19px; font-weight: 800; color: var(--teal); letter-spacing: -0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v0.54: blurbs get two lines (halving the card clipped them), and the
   standing card grew a matching "out of 1,013" middle line. */
.cardMid { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cardSub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11.5px; font-weight: 500; color: var(--ink-3); overflow: hidden; }
.chev { color: var(--ink-3); flex: none; font-size: 14px; }

.trophyLine {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 14px 0; font-size: 15px; color: var(--ink-2); font-weight: 500;
}
.trophyLine b { color: var(--amber); font-weight: 800; font-size: 17px; }

/* ---- today's live tease (Max, 2026-08-19): the site's own cliffhanger.
   Wears the dark game-card skin on the light page so it reads as "the
   live game," not an ad. Appears only after yesterday's game pays off. */
.todayCard {
  position: relative;
  background: var(--grad-card); border-radius: var(--r-card);
  padding: 18px 18px 16px; color: var(--on-card);
  box-shadow: 0 10px 24px rgba(17, 27, 48, 0.28);
  margin-bottom: 16px; text-align: left;
}
.todayHead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.todayDot { width: 7px; height: 7px; border-radius: 4px; background: #E4557A; }
.todayLabel { font-size: 10.5px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,0.75); }
.todayClock { margin-left: auto; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.88); background: rgba(255,255,255,0.12); border-radius: 999px; padding: 3px 9px; }
.todayPrompt { font-family: var(--serif); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.3px; color: #fff; margin-bottom: 8px; }
.todaySub { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.todayBtn { width: 100%; min-height: 46px; border: 0; border-radius: 999px; background: #fff; color: var(--teal); font-size: 14.5px; font-weight: 800; cursor: pointer; }
.todayBtn:active { opacity: 0.9; }

.forkRow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.forkBtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r-button); padding: 12px 8px; font-size: 13.5px; font-weight: 800;
}
.forkBtn.dive { background: var(--surface); border: 1.5px solid var(--hairline); color: var(--teal); box-shadow: 0 4px 10px rgba(31, 59, 112, 0.08); }
.forkBtn.play { background: var(--teal); color: #fff; box-shadow: 0 4px 12px rgba(31, 59, 112, 0.18); }

/* ---------- dark feed cards (demographics + The Gap) ---------- */
.dcard {
  position: relative; background: var(--grad-card); border-radius: var(--r-card);
  padding: 16px 20px; color: var(--on-card); margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(17, 27, 48, 0.24);
}
.dhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dchip {
  width: 32px; height: 32px; border-radius: 16px; flex: none;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.dtitle { font-size: 16px; font-weight: 600; color: var(--on-card); flex: 1; }
.dlock { color: var(--on-card-dim); }

.demoRows { opacity: 0.3; }
.dsec { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--on-card-dim); margin: 10px 0 6px; }
.drow { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.dlabel { width: 96px; font-size: 13px; font-weight: 600; color: var(--on-card); }
.dtrack { flex: 1; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.dfill { display: block; height: 100%; border-radius: 5px; background: rgba(84, 166, 255, 0.38); }
.dpct { width: 36px; text-align: right; font-size: 13.5px; font-weight: 800; color: var(--mint); }

.overlay {
  position: absolute; inset: 0; border-radius: var(--r-card);
  background: rgba(17, 27, 48, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.overlayInner { text-align: center; padding: 0 24px; }
.lockCircle {
  width: 40px; height: 40px; border-radius: 20px; margin: 0 auto 8px;
  background: rgba(17, 27, 48, 0.85); border: 1px solid rgba(84, 166, 255, 0.4);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.overlayTitle { font-size: 15.5px; font-weight: 600; color: #fff; }
.overlayBody { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); margin: 6px 0 10px; }
.unlockBtn {
  border: 1.5px solid var(--mint); border-radius: 999px;
  background: rgba(17, 27, 48, 0.8); color: var(--mint);
  padding: 9px 24px; font-size: 14.5px; font-weight: 600;
}

/* The Gap */
.gapEyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--on-card-dim); }
.gapHeadline {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: var(--amber);
  margin: 6px 0 8px; white-space: nowrap; overflow: hidden;
}
.gapHeadline.called { color: var(--mint); }
.gapArticle { font-size: 14.5px; line-height: 1.5; color: var(--on-card); font-weight: 500; margin-bottom: 8px; }
.plotLabel { font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; color: var(--on-card-dim); margin: 10px 0 6px; }
.histo { display: flex; align-items: flex-end; gap: 2px; height: 72px; }
.histo .bar { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.22); min-height: 4px; }
.histo .bar.truth { background: var(--mint); }
.histo .bar.youbar { background: #FFFFFF; }
.legend { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--on-card-dim); }
.legendDot { width: 8px; height: 8px; border-radius: 4px; }
.plotCaption { font-size: 11.5px; line-height: 1.45; color: var(--on-card-dim); margin-top: 8px; }

/* ---------- leaderboard replica ---------- */
.lbNote { font-size: 13px; color: var(--ink-2); margin: 0 0 8px 2px; }
.lbCard { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 8px 10px; margin-bottom: 16px; }
.lbRow { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 14px; }
.lbRow.you { background: var(--mint-soft); }
.rankBadge {
  min-width: 30px; height: 26px; border-radius: 13px; padding: 0 4px; flex: none;
  background: #EFF3FA; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--ink-2);
}
.rankBadge.medal { background: var(--amber-soft); color: var(--amber-text); }
.lbRow.you .rankBadge { background: #FFFFFF; color: var(--teal); }
.lbName { flex: 1; min-width: 0; }
.lbHandle { font-size: 14.5px; font-weight: 600; color: var(--ink-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbRow.you .lbHandle { color: var(--teal); font-weight: 800; }
.lbRating { font-size: 10.5px; font-weight: 600; color: var(--ink-3); }
.lbAway { font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.lbRow.you .lbAway { color: var(--teal); }
.lbDots { text-align: center; font-size: 14px; font-weight: 800; color: var(--ink-3); letter-spacing: 2px; padding: 2px 0; }
.lbFoot { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 6px; border-top: 1px solid var(--hairline); margin-top: 4px; font-size: 14.5px; }
.lbFoot .l { font-weight: 800; color: var(--ink-deep); }
.lbFoot .r { font-weight: 800; color: var(--teal); }

/* ---------- forum replica ---------- */
.forumCard { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.fHead { display: flex; align-items: center; justify-content: space-between; }
.fTitleWrap { display: flex; align-items: center; gap: 6px; }
.fTitle { font-size: 15px; font-weight: 600; color: var(--ink-deep); }
.fCount { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.sortRow { display: flex; gap: 6px; margin-top: 8px; }
.sortChip { padding: 5px 12px; border-radius: 999px; background: #EFF3FA; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.sortChip.on { background: var(--card); color: #FFFFFF; }
.composer { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.composerInput {
  flex: 1; display: flex; align-items: center;
  border: 1.5px solid var(--hairline); border-radius: 999px;
  padding: 9px 16px; font-size: 13.5px; color: var(--ink-3);
  background: #F7FAFE; text-align: left;
}
.sendBtn { width: 34px; height: 34px; border-radius: 17px; background: var(--teal); color: #fff; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.thread { margin-top: 8px; }
.cRow { display: flex; gap: 8px; padding: 7px 6px; border-radius: 14px; }
.cAvatar { font-size: 20px; line-height: 1.2; }
.cBody { flex: 1; min-width: 0; }
.cMeta { display: flex; align-items: baseline; gap: 6px; }
.cHandle { font-size: 12.5px; font-weight: 800; color: var(--ink-deep); }
.cTime { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.cText { font-size: 13.5px; line-height: 1.35; font-weight: 500; color: var(--ink-2); margin-top: 1px; }
.cLike { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 30px; margin-top: 2px; font-size: 10.5px; font-weight: 700; color: var(--ink-3); }
.cHeart { font-size: 15px; }
.fFoot { text-align: center; font-size: 10.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- modals ---------- */
.backdrop {
  position: fixed; inset: 0; background: rgba(7, 14, 26, 0.62);
  display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 100;
}
.modalCard {
  width: 100%; max-width: 380px; background: #0F1B31; border-radius: 28px;
  padding: 24px; color: #F0F6FC; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.modalEyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: 2.5px; color: #7FE0C3; margin-bottom: 6px; }
.modalTitle { font-family: var(--serif); font-size: 24px; line-height: 1.25; font-weight: 700; margin-bottom: 8px; }
.modalBody { font-size: 14px; line-height: 1.5; font-weight: 500; color: rgba(240, 246, 252, 0.78); margin-bottom: 16px; }
.storeBtn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--teal); color: #fff; border-radius: var(--r-button);
  padding: 13px; font-size: 15.5px; font-weight: 800;
}
/* the other platform's button - same size and shape as the first (Max,
   2026-09-03; this slot was "Google Play - coming soon" text until Play
   went live, then briefly a small link). */
.storeBtnSecond { margin-top: 10px; }
.modalDismiss { display: block; width: 100%; text-align: center; padding: 10px; margin-top: 2px; font-size: 13px; font-weight: 700; color: rgba(240, 246, 252, 0.55); }

.ratingsCard { background: var(--surface); color: var(--ink-deep); border-radius: 28px; max-height: 76vh; overflow-y: auto; }
.ratingsCard .modalTitle { color: var(--ink-deep); }
.ratingsCard .rsub { font-size: 12.5px; color: var(--ink-2); margin-bottom: 12px; }
.ladderRow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; }
.ladderRow.current { background: var(--mint-soft); }
.ladderRange { min-width: 52px; font-size: 11.5px; font-weight: 800; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ladderRow.current .ladderRange { color: var(--teal); }
.ladderName { font-size: 14px; font-weight: 800; }
.ladderBlurb { font-size: 11.5px; color: var(--ink-2); }

/* ---------- countdown bubble ---------- */
.clockBubble {
  position: fixed; right: 16px; z-index: 90; max-width: 320px;
  background: var(--card); color: var(--on-card); border-radius: 16px;
  padding: 12px 14px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.clockBubble b { color: var(--mint); font-variant-numeric: tabular-nums; }

/* ---------- quiet lower sections ---------- */
.how { margin-top: 44px; text-align: center; opacity: 0.75; }
.how h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; color: var(--ink-2); }
.steps { text-align: left; display: grid; gap: 4px; }
.step { display: flex; gap: 12px; background: none; border-radius: var(--r-chip); padding: 8px 6px; box-shadow: none; }
.step .n { flex: none; width: 22px; height: 22px; border-radius: 11px; background: rgba(47, 125, 246, 0.10); color: var(--ink-3); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.step strong { display: block; font-size: 13.5px; color: var(--ink-2); }
.step span { font-size: 12px; color: var(--ink-3); }
.bottomcta { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.ctalink { color: var(--teal); font-weight: 800; text-decoration: none; }
.hero-note { font-size: 12px; color: var(--ink-3); }
footer { margin-top: 36px; padding: 18px 0; text-align: center; font-size: 12px; color: var(--ink-3); }
footer a { color: var(--ink-2); text-decoration: none; margin: 0 8px; }

[hidden] { display: none !important; }

/* ---------- the back catalog ---------- */
#pastList { display: grid; gap: 8px; }
.pastRow {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--surface); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 13px 16px; text-align: left;
}
.pastRow .grow { flex: 1; min-width: 0; }
.pastDate { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; color: var(--ink-3); }
.pastPrompt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 700; color: var(--ink-deep); margin: 1px 0 2px; white-space: normal; overflow: hidden; }
.pastRedact { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.redact { color: var(--ink-2); letter-spacing: 1px; }

/* ---- The sticky app door (2026-08-25, Max's share-flow catch) ----
   Always visible at the bottom edge - the store is never more than one
   glance away. z-index sits BELOW the modal backdrop (its scrim covers
   the bar when a door opens). Body padding keeps the last content -
   the footer - clear of it. */
.stickyBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 20, 38, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stickyText { color: #E7EEF9; font-size: 13.5px; font-weight: 600; }
.stickyBtn {
  background: #22D3BE; color: #06251F; text-decoration: none;
  font-weight: 800; font-size: 13.5px; padding: 8px 18px;
  border-radius: 999px; white-space: nowrap;
}
body { padding-bottom: 66px; }
/* ad-honest landing (2026-09-05): until an ad visitor finishes the
   browser game, the always-on store bar stays out of sight - the page
   must match the ad's "try it first" promise. */
body.adGuest .stickyBar { display: none; }
body.adGuest { padding-bottom: 0; }
