/* The Lure / Momeala — a card table. Felt, cream cards, brass, oxblood for the planted. */
:root {
  --felt: #1d3327;
  --felt-deep: #14241b;
  --felt-line: #2c4a38;
  --cream: #f6f0e2;
  --cream-dim: #e9e0cb;
  --card: #fbf7ec;
  --ink: #201b12;
  --ink-soft: #4a4234;
  --muted: #b9c4b4;
  --muted-dark: #6f7a6c;
  --brass: #c9a227;
  --brass-soft: #e3c766;
  --blood: #a83226;
  --blood-deep: #7c2119;
  --moss: #3f7a4d;
  --moss-deep: #2a5a35;
  --col: 720px;
  --col-wide: 1020px;
  --r: 12px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -120px, #27443400, #27443466),
    repeating-linear-gradient(0deg, #00000000 0 3px, #00000014 3px 4px),
    linear-gradient(var(--felt), var(--felt-deep));
  background-color: var(--felt-deep);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.075rem;
  line-height: 1.65;
}

a { color: var(--brass-soft); text-underline-offset: 3px; }
a:hover { color: #f0d67c; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brass-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: var(--col-wide); margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--felt-line);
  background: #101c15d9;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}
.topbar-inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.brand { color: var(--cream); text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand span { color: var(--brass); }
.steps { display: flex; gap: 8px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.step {
  color: var(--muted);
  border: 1px solid var(--felt-line);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.step[aria-current="step"] { color: #101c15; background: var(--brass); border-color: var(--brass); font-weight: 600; }
.step.done { color: var(--brass-soft); border-color: var(--brass); }
.langswitch { display: flex; gap: 6px; align-items: center; }
.langswitch a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--felt-line);
  border-radius: 999px;
  padding: 2px 10px;
}
.langswitch a[aria-current="true"] { color: #101c15; background: var(--cream); border-color: var(--cream); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 8px; text-align: center; }
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 18px;
}
h1.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
h1.display em { font-style: italic; color: var(--brass-soft); }
.deck-line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--cream-dim);
  max-width: 34em;
  margin: 0 auto 26px;
}
.protocol {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.protocol li { border: 1px solid var(--felt-line); border-radius: 999px; padding: 4px 14px; }
.protocol strong { color: var(--cream); font-weight: 600; }
.privacy {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 14px auto 30px;
  max-width: 36em;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 2px solid var(--brass);
  background: var(--brass);
  color: #17200f;
  padding: 14px 34px;
  cursor: pointer;
  min-height: 52px;
}
.btn:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--felt-line);
  font-weight: 400;
  padding: 10px 22px;
  min-height: 44px;
  font-size: 0.88rem;
}
.btn.ghost:hover { border-color: var(--brass); color: var(--brass-soft); }
.btnrow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }

/* ---------- stage / cards ---------- */
.stage { padding: 26px 0 10px; }
.table {
  background: linear-gradient(#f3ecdb, var(--cream-dim));
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 30px 60px -20px #000000a6, inset 0 0 0 1px #00000022;
  position: relative;
}
.table::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed #201b1233;
  border-radius: 12px;
  pointer-events: none;
}
.phase-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 6px;
  text-align: center;
}
.card-count {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.playing-card {
  background: var(--card);
  border: 1px solid #201b1226;
  border-radius: var(--r);
  box-shadow: 0 10px 24px -12px #201b1266;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  margin: 0 auto;
  max-width: 460px;
}
.playing-card .word {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}
.playing-card.blank { border: 2px dashed var(--blood); background: #f6ece4; }
.playing-card.blank .word { color: var(--blood); }
.progress-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px auto 4px;
  padding: 0;
  list-style: none;
  max-width: 460px;
}
.progress-dots li {
  width: 9px; height: 9px; border-radius: 50%;
  background: #201b1226;
}
.progress-dots li.seen { background: var(--ink); }
.progress-dots li.hit { background: var(--moss); }
.progress-dots li.miss { background: var(--blood); }
.timerbar {
  height: 8px;
  background: #201b121a;
  border-radius: 999px;
  overflow: hidden;
  max-width: 460px;
  margin: 14px auto 4px;
}
.timerbar > div { height: 100%; background: var(--ink); width: 100%; }
.timerbar.blood > div { background: var(--blood); }

/* math distractor */
.math-q {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin: 6px 0 16px;
}
.math-opts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.math-opts .btn {
  background: var(--card);
  border-color: var(--ink);
  color: var(--ink);
  min-width: 96px;
}
.math-opts .btn:hover { background: var(--ink); color: var(--cream); }
.skip {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 8px;
}

/* sort (test) */
.sort-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 520px;
  margin: 18px auto 4px;
}
@media (max-width: 520px) { .sort-opts { grid-template-columns: 1fr; } }
.sort-opts button {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.35;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  padding: 12px 14px;
  cursor: pointer;
  min-height: 56px;
}
.sort-opts button small { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-soft); }
.sort-opts button:hover { background: var(--ink); color: var(--cream); }
.sort-opts button:hover small { color: var(--cream-dim); }
.sort-opts button[data-side="old"] { border-color: var(--moss-deep); }
.sort-opts button[data-side="new"] { border-color: var(--blood-deep); }
.keyhint { text-align: center; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- reveal ---------- */
.verdict {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  margin: 6px 0 4px;
}
.verdict em { color: var(--blood-deep); font-style: italic; }
.verdict-sub { text-align: center; color: var(--ink-soft); margin: 0 0 20px; }
.scoreband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 22px;
}
@media (max-width: 560px) { .scoreband { grid-template-columns: 1fr; } }
.score {
  border: 1px solid #201b1233;
  border-radius: 10px;
  padding: 12px 14px;
  background: #ffffff70;
  text-align: center;
}
.score .n { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; }
.score .t { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.score.lure .n { color: var(--blood); }
.score.hit .n { color: var(--moss-deep); }
.board { display: grid; gap: 18px; margin: 0 0 8px; }
.board h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink-soft);
}
.luregrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .luregrid { grid-template-columns: 1fr; } }
.lure-card {
  border-radius: 10px;
  padding: 12px;
  border: 2px dashed var(--blood);
  background: #f8e9e2;
  text-align: center;
}
.lure-card .w { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--blood-deep); }
.lure-card .v { font-family: var(--serif); font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.lure-card .v strong { color: var(--blood-deep); }
.lure-card.resisted { border-color: var(--moss-deep); background: #e9f1e6; }
.lure-card.resisted .w { color: var(--moss-deep); }
.lure-card.resisted .v strong { color: var(--moss-deep); }
.wordline { font-size: 1rem; color: var(--ink); margin: 0; }
.cal { display: grid; gap: 10px; margin: 4px 0 8px; }
.cal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: baseline;
  font-size: 0.95rem;
}
.cal-row .bar {
  grid-column: 1 / -1;
  height: 8px;
  background: #201b121a;
  border-radius: 999px;
  overflow: hidden;
}
.cal-row .bar > div { height: 100%; background: var(--brass); }
.copybox {
  width: 100%;
  max-width: 560px;
  margin: 12px auto 0;
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #201b1233;
  background: #fff;
  color: var(--ink);
}

/* ---------- editorial ---------- */
article { padding: 34px 0 10px; }
article h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: 44px 0 12px;
  letter-spacing: -0.005em;
}
article h2::before {
  content: "⊘";
  display: block;
  font-size: 1rem;
  color: var(--brass);
  margin-bottom: 8px;
}
article p { margin: 0 0 16px; }
article strong { color: #fff; }
.table article strong, .table strong { color: inherit; }
article .muted, .muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.85rem; }
.limits { margin: 0 0 16px; padding-left: 22px; }
.limits li { margin-bottom: 10px; }
.limits li::marker { color: var(--brass); }
.sources { margin: 0 0 16px; padding-left: 22px; font-size: 0.95rem; }
.sources li { margin-bottom: 8px; color: var(--cream-dim); }
.norms {
  background: #101c15b3;
  border: 1px solid var(--felt-line);
  border-radius: 14px;
  padding: clamp(18px, 3.5vw, 30px);
  margin: 20px 0;
}
.norms h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 14px;
}
.norm { display: flex; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.norm .nv {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: var(--brass-soft);
  min-width: 3.2em;
  text-align: right;
  flex-shrink: 0;
}
.norm .nl { font-size: 0.98rem; color: var(--cream-dim); }
.norm .nl strong { color: #fff; }
.norms-note { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }

footer {
  border-top: 1px solid var(--felt-line);
  margin-top: 40px;
  padding: 26px 0 60px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- ready-state deck art ---------- */
.deckart { display: flex; justify-content: center; margin: 18px 0 6px; }
.deckart span {
  width: 74px;
  height: 104px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid #201b1244;
  box-shadow: 0 8px 18px -8px #00000088;
  margin: 0 -12px;
}
.deckart span:nth-child(1) { transform: rotate(-9deg); }
.deckart span:nth-child(2) { transform: translateY(-8px); border: 2px dashed var(--blood); }
.deckart span:nth-child(3) { transform: rotate(9deg); }

/* ---------- utilities ---------- */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
...[truncated 5837 chars]