/* MANIFEST369
   Built to sit next to systemisbroken.xyz, not next to a generic crypto dashboard.
   Their identity: pure black, zinc cards, one saturated gold carrying every important
   number, heavy tight caps with a bloom on the wordmark, Inter + JetBrains Mono.
   This page borrows that family resemblance and keeps one idea of its own: the pot is
   both the headline and the thing that answers you when you reveal.

   Two accents, one job each, never mixed:
     --gold    the pot, and any live number the protocol is moving
     --ember   you acting, and anything irreversible (commit, burn) */

:root {
  --black:    #000000;
  --card:     #18181B;
  --card-2:   #101012;
  --line:     #27272A;
  --line-lit: #3F3F46;
  --text:     #FAFAFA;
  --dim:      #A1A1AA;
  --dimmer:   #71717A;

  --gold:     #F5B01A;
  --gold-lit: #FFC53D;
  --ember:    #F97316;

  --ui: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1rem, 4vw, 1.5rem);
  --measure: 44rem;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 100svh;
}

main { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter) 2rem; }

/* ---------- masthead ---------- */

.bar {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.75rem var(--gutter) 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;          /* at 320px the wordmark and the button will not share a line */
}

.wordmark {
  font-family: var(--ui);
  font-size: clamp(1.5rem, 8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(245, 176, 26, 0.45);
}

.wordmark-num { color: var(--gold-lit); }

.tagline {
  margin: 0.5rem 0 0;
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ---------- the pot ---------- */

.pot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  margin: 0 0 1rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.875rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.pot-figure {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pot-digits {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 32px rgba(245, 176, 26, 0.35);
  transition: color 200ms ease, text-shadow 200ms ease;
}

.pot-unit {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--dimmer);
}

.pot-usd {
  margin: 0.5rem 0 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--dim);
}

.pot-meta {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--dim);
}

.pot-note { margin: 0.625rem 0 0; font-size: 0.875rem; color: var(--dimmer); }

/* the reveal: the figure itself answers, so it carries the only real motion on the page */
.pot-digits[data-state="rolling"] { color: var(--text); text-shadow: none; }
.pot-digits[data-state="won"] { color: var(--gold-lit); text-shadow: 0 0 44px rgba(255, 197, 61, 0.6); }

/* live odds + drought, under the pot */
.odds-now {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin: 1.25rem 0 0;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}

.odds-now div { text-align: center; }

.odds-now dt {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.odds-now dd {
  margin: 0.3125rem 0 0;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.odds-now dd.lifted { color: var(--gold); }

/* ---------- cards ---------- */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  margin: 0 0 1rem;
}

/* Section headings carry their own weight instead of leaning on an icon. A hairline in the
   brand gold runs off the left edge of the word — a ledger mark, which is what this whole
   product is. Sharper than a rounded app tile and it means something. */
.panel-title {
  position: relative;
  margin: 0 0 1.25rem;
  padding-left: 0.875rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.panel-title .more {
  float: right;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.panel-title .more:hover { color: var(--gold); border-bottom-color: var(--gold); }

.panel-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 2px;
  background: var(--gold);
}

/* ---------- commit form ---------- */

.field { margin: 0 0 1.25rem; }

.field-label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8125rem 1rem;
}

.input-row:focus-within { border-color: var(--gold); }

.input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0;
}

.input:focus { outline: none; }

.input-unit {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--dimmer);
}

/* quick amounts — typing a number on a phone is the worst part of any of these */
.quick { display: flex; align-items: center; gap: 0.4375rem; margin: 0.625rem 0 0; flex-wrap: wrap; }

.quick button {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.6875rem;
  padding: 0.3125rem 0.5625rem;
  cursor: pointer;
}

.quick button:hover { border-color: var(--gold); color: var(--gold); }
.quick button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.balance { margin-left: auto; font-family: var(--mono); font-size: 0.625rem; color: var(--dimmer); }

.breakdown { margin: 0 0 1.125rem; }

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.breakdown-row dt { color: var(--dim); }
.breakdown-row dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }

/* The one destination that is permanent gets the permanence colour. This rule must sit
   AFTER the generic dd rule: same specificity, so source order decides. */
.breakdown-row--burn dd { color: var(--ember); }


/* ---------- buttons ---------- */

.btn {
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
}

.btn-ghost:hover { border-color: var(--line-lit); }

.btn-solid {
  display: block;
  width: 100%;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #18181B;
  padding: 0.8125rem 1rem;
}

.btn-solid:hover:not(:disabled) { background: var(--gold-lit); border-color: var(--gold-lit); }

.btn-solid:disabled {
  background: var(--card-2);
  border-color: var(--line);
  color: var(--dimmer);
  cursor: not-allowed;
}

.status {
  margin: 0.75rem 0 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--dim);
}

.status[data-tone="error"] { color: var(--ember); }

/* ---------- tickets ---------- */

.tickets { display: flex; flex-direction: column; gap: 0.625rem; }

/* ---- ticket groups: unopened / opened / trophies -------------------------------
   A ticket used to vanish the moment it resolved. These groups keep it visible and show
   what it became. Only non-empty groups are rendered, so nothing here is a blank shelf. */
.tickets { gap: 1.25rem; }

.tgroup-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4375rem;
  border-bottom: 1px solid var(--line);
}
.tgroup-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.tgroup-count {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--bg);
  background: var(--dim);
  border-radius: 999px;
  padding: 0.0625rem 0.4375rem;
}
.tgroup-note {
  margin-left: auto;
  font-size: 0.625rem;
  color: var(--dimmer);
  text-align: right;
}
.tgroup-rows { display: flex; flex-direction: column; gap: 0.625rem; }

/* The trophy group is the only one that gets colour. Everything else stays quiet so the
   win reads as the event it is. */
.tgroup--trophies .tgroup-label { color: var(--gold); }
.tgroup--trophies .tgroup-count { background: var(--gold); }

.ticket--won { border-color: rgba(245, 176, 26, 0.45); }
.ticket--lost { opacity: 0.6; }

.ticket-outcome { font-family: var(--mono); font-size: 0.6875rem; color: var(--dimmer); }
.ticket--won .ticket-outcome { color: var(--gold); font-weight: 700; }

@media (max-width: 30rem) {
  /* the note is the first thing worth dropping when the row gets tight */
  .tgroup-note { display: none; }
}

.empty { margin: 0; font-size: 0.875rem; color: var(--dimmer); }

.ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.875rem 1rem;
}

.ticket-id { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: var(--text); }

.ticket-odds {
  display: block;
  margin-top: 0.1875rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--dimmer);
}

.ticket-action { display: flex; align-items: center; gap: 0.75rem; }

.ticket-wait { font-family: var(--mono); font-size: 0.625rem; color: var(--dimmer); }

.btn-reveal {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.4375rem 0.9375rem;
}

.btn-reveal:hover:not(:disabled) { background: var(--gold); color: #18181B; }
.btn-reveal:disabled { border-color: var(--line); color: var(--dimmer); cursor: not-allowed; }

/* how it works */
.how-lede {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.how { margin: 0 0 1.25rem; padding: 0; list-style: none; counter-reset: step; }

.how li {
  position: relative;
  counter-increment: step;
  padding: 0 0 0.75rem 1.875rem;
  font-size: 0.875rem;
  color: var(--dim);
}

.how li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.0625rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold);
}

.how li b { color: var(--text); font-weight: 600; }

.tiers { margin: 0 0 1rem; border-top: 1px solid var(--line); }

.tiers div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.tiers dt { color: var(--dim); }
.tiers dd { margin: 0; color: var(--gold); }

.how-note { margin: 0; font-size: 0.8125rem; color: var(--dimmer); }

/* recent wins */
.wins { display: flex; flex-direction: column; }

.win-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem 0.875rem;
  align-items: baseline;
  padding: 0.5625rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.win-row:last-child { border-bottom: 0; }
.win-amt { color: var(--gold); font-variant-numeric: tabular-nums; }
.win-tier { color: var(--dim); }
.win-who { color: var(--dimmer); text-align: right; }

.yours { margin: 0 0 0.875rem; font-family: var(--mono); font-size: 0.6875rem; color: var(--dim); }
.yours a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.yours a:hover { border-bottom-color: var(--gold); }

/* ---------- leaderboard ---------- */

.board { display: flex; flex-direction: column; }

.board-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto auto;
  gap: 0.5rem 0.875rem;
  align-items: baseline;
  padding: 0.5625rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.board-row:last-child { border-bottom: 0; }

.board-rank { color: var(--dimmer); }
.board-who { color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.board-commits { color: var(--text); font-variant-numeric: tabular-nums; }
.board-total { color: var(--gold); font-variant-numeric: tabular-nums; min-width: 6.5rem; text-align: right; }

.board-row--you .board-who { color: var(--gold); }

@media (max-width: 26rem) {
  .board-row { grid-template-columns: 1.75rem 1fr auto; }
  .board-total { grid-column: 2 / -1; text-align: left; }
}

/* ---------- footer ---------- */

.foot { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter) 3rem; }

.foot-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.foot-num {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}

.foot-label { font-family: var(--mono); font-size: 0.6875rem; color: var(--dim); }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.125rem 0 0;
}

.links a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.foot-note { margin: 0.875rem 0 0; font-family: var(--mono); font-size: 0.625rem; color: var(--dimmer); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- add to the pot (/#seed) ------------------------------------------------
   Deliberately plain. This is a utility panel, not part of the pitch, and it should
   read as an admin control rather than a second call to action. */
.seed {
  max-width: var(--measure);
  margin: 2rem auto 0;
  padding: 1.25rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
}
.seed h2 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--text); }
.seed p { margin: 0; color: var(--dim); font-size: 0.8125rem; line-height: 1.55; }
.seed-row { display: flex; gap: 0.5rem; margin: 0.875rem 0 0; }
.seed-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-family: var(--mono);
}
.seed-row input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.seed-row button {
  flex: 0 0 auto;
  padding: 0.625rem 1.25rem;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  color: #0a0908;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.seed-row button:disabled { opacity: 0.55; cursor: default; }
.seed-status:empty { display: none; }
.seed-status { margin-top: 0.625rem; font-size: 0.8125rem; color: var(--dim); }

/* ---- the reveal card ----------------------------------------------------------
   The one screen in the product where something actually happens to you. It gets the
   colour budget; everything else on the page stays quiet so this can land. */
.reveal-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(3px);
  animation: rc-fade 180ms ease-out;
}
.reveal-scrim[hidden] { display: none; }

.reveal-box {
  width: 100%;
  max-width: 24rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  animation: rc-rise 220ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.rc-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.rc-verdict {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.reveal-scrim--won .rc-verdict { color: var(--gold); }

.rc-sub { margin: 0.625rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--dim); }

/* The draw, shown in full. A loss you can check yourself is a fair loss; a loss with no
   numbers attached just feels like the house said no. */
.rc-draw {
  margin: 1.25rem 0 0;
  padding: 0.875rem 1rem;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}
.rc-draw[hidden] { display: none; }
.rc-draw > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3125rem 0;
}
.rc-draw dt { font-size: 0.75rem; color: var(--dimmer); }
.rc-draw dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.reveal-scrim--won .rc-draw dd { color: var(--gold); }

.rc-foot { margin: 1rem 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--dimmer); }
.rc-foot a { color: var(--gold); }
.rc-foot:empty { display: none; }

.rc-close {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.rc-close:hover { border-color: var(--gold); color: var(--gold); }
.rc-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.reveal-scrim--won .rc-close { background: var(--gold); border-color: var(--gold); color: #0a0908; }

@keyframes rc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rc-rise { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal-scrim, .reveal-box { animation: none; }
}

/* ---- the vortex reveal --------------------------------------------------------
   The one moment in the product with tension in it. It shows no odds, no draw and no
   threshold: just nine points, a chase, and where it stops. */
.rc-vortex { margin: 0.5rem auto 0; width: min(15rem, 62vw); }
.rc-vortex svg { display: block; width: 100%; height: auto; }

.rc-ring { fill: none; stroke: #18181B; }
.rc-tri {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  opacity: 0.18;
  transition: opacity 300ms ease-out;
}
.reveal-scrim--rolling .rc-tri { opacity: 0.4; }
.reveal-scrim--won .rc-tri { opacity: 0.9; }

.rc-node circle { fill: #000; stroke: #27272A; stroke-width: 1.5; transition: all 200ms ease-out; }
.rc-node text { fill: #3F3F46; font-family: var(--mono); font-size: 22px; transition: fill 200ms ease-out; }
.rc-node--prize circle { stroke: rgba(245, 176, 26, 0.45); }
.rc-node--prize text { fill: rgba(245, 176, 26, 0.6); font-size: 30px; font-weight: 700; }

/* the travelling cursor */
.rc-node.is-lit circle { fill: var(--gold); stroke: var(--gold); }
.rc-node.is-lit text { fill: #0a0908; }

/* where it stopped, on a win */
.rc-node.is-hit circle {
  fill: var(--gold);
  stroke: var(--gold);
  filter: drop-shadow(0 0 18px rgba(245, 176, 26, 0.85));
}
.rc-node.is-hit text { fill: #0a0908; }

.rc-target {
  margin: 0.875rem 0 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--dimmer);
}
/* collapses once the spin lands, so the verdict sits close under the vortex instead of
   floating below a reserved empty line */
.rc-target:empty { display: none; }

.rc-verdict { margin-top: 1.25rem; }

/* Verdict and everything under it stay out of the way until the vortex has landed.
   Telling you the answer while it is still moving kills the whole moment. */
.rc-verdict, .rc-sub, .rc-foot, .rc-close {
  transition: opacity 260ms ease-out, transform 260ms ease-out;
}
.reveal-scrim--rolling .rc-verdict,
.reveal-scrim--rolling .rc-sub,
.reveal-scrim--rolling .rc-foot,
.reveal-scrim--rolling .rc-close {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.reveal-scrim--won .reveal-box {
  border-color: rgba(245, 176, 26, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 176, 26, 0.12), 0 24px 70px -20px rgba(245, 176, 26, 0.3);
  animation: rc-pop 420ms cubic-bezier(0.2, 1.3, 0.4, 1);
}
@keyframes rc-pop {
  0% { transform: scale(0.97); }
  55% { transform: scale(1.025); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-scrim--won .reveal-box { animation: none; }
  .rc-node circle, .rc-node text, .rc-tri { transition: none; }
  .rc-verdict, .rc-sub, .rc-foot, .rc-close { transition: none; }
}
