/* POTATCHI burns page (burns.html). The site's tokens from styles.css, plus amber for the burn itself.
   Motion is transform/opacity only, 150–250 ms, and off under prefers-reduced-motion. The one longer moment is the
   ember rise on the Burn + Match card, shown only after a confirmed burn (never with reduced motion). */

.bn-page {
  --bn-amber: #F29A3A;
  --bn-amber-deep: #A94F12;
  --bn-amber-soft: #FFF1DE;
  --bn-amber-line: #F5CF9C;
  --bn-card: #FFFDF8;
  --bn-choc: #4A2E14;
  --bn-ok: #2F7A45; --bn-ok-bg: #EAF4EC; --bn-ok-line: #BFDCC6;
  --bn-warn: #8A3A2A; --bn-warn-bg: #FBEDEA; --bn-warn-line: #EDC3C3;
  --bn-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(74, 46, 20, .06), 0 12px 30px -18px rgba(74, 46, 20, .3);
}
.bn-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.bn {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 40px) clamp(48px, 8vw, 84px);
}
.bn > * + * { margin-top: clamp(18px, 3vw, 28px); }


/* ------------------------------------------------------------ sections -- */
.bn-section { position: relative; padding: clamp(18px, 3.4vw, 28px); border-radius: 24px; background: var(--bn-card); border: 1px solid #F0DDB8; box-shadow: var(--bn-shadow); }
.bn-section > * + * { margin-top: 14px; }
.bn-h { display: flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.55rem); line-height: 1.2; }
.bn-ico { width: 30px; height: 30px; flex: none; }
.bn-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.bn-note { font-size: .84rem; line-height: 1.5; color: var(--brown-soft); }
.bn-section a:not(.btn) { color: var(--gold-deep); }

/* overview */
.bn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.bn-stat { min-width: 0; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bn-stat dt { font-family: 'Space Mono', ui-monospace, monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.bn-stat dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 6px 0 0; }
.bn-num { font-family: 'Fredoka', ui-rounded, system-ui, sans-serif; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--brown); }
.bn-num--small { font-size: 1.12rem; }
.bn-unit { font-family: 'Space Mono', ui-monospace, monospace; font-size: .72rem; letter-spacing: .08em; color: var(--brown-soft); }
.bn-stat .bn-note { margin-top: 4px; }
.bn-stat--hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(150deg, #FFF0DA 0%, #FFF8EC 60%); box-shadow: inset 0 0 0 1px var(--bn-amber-line), 0 10px 24px -18px rgba(169, 79, 18, .55); }
.bn-stat--hero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 154, 58, .22), rgba(242, 154, 58, 0)); pointer-events: none; }
.bn-stat--hero .bn-num { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); color: var(--bn-choc); }
.bn-stat--hero .bn-unit { flex-basis: 100%; }    /* its own line, so it doesn't slide sideways when the number arrives */
.bn-stat--hero dt { color: var(--bn-amber-deep); }
.bn[data-state="stale"] .bn-num, .bn[data-state="error"] .bn-num { opacity: .72; }
.bn-reconcile, .bn-dead { font-size: .88rem; line-height: 1.5; color: var(--brown-soft); }
.bn-reconcile strong { color: var(--bn-ok); }
.bn-reconcile .is-off strong { color: var(--bn-warn); }
/* no layout shift while the data arrives (2026-10-02): the check lines stack the live text over an invisible copy of
   the finished sentence, so they are as tall as they will be; the bottom-row notes keep two lines of room */
.bn-checks { display: grid; gap: 8px; }
.bn-fit { display: grid; }
.bn-fit > * { grid-area: 1 / 1; min-width: 0; }
.bn-fit__size { visibility: hidden; pointer-events: none; user-select: none; }
.bn-stat:not(.bn-stat--hero) .bn-note { min-height: 3em; }
.bn-stat--data { grid-column: 1 / -1; }
.bn-stat:not(.bn-stat--hero) .bn-frac { font-size: .62em; }

.bn-error { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border-radius: 14px; background: var(--bn-warn-bg); box-shadow: inset 0 0 0 1px var(--bn-warn-line); }
.bn-error[hidden] { display: none; }
.bn-error p { flex: 1 1 260px; font-size: .95rem; }

/* status chips (history: Confirmed / Final) */
.bn-chip { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 3px 11px; border-radius: 999px; font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bn-chip svg { width: 12px; height: 12px; }
.bn-chip--awaiting { background: #FFF1DE; color: #7A4210; box-shadow: inset 0 0 0 1px var(--bn-amber-line); }
.bn-chip--confirmed { background: var(--bn-ok-bg); color: var(--bn-ok); box-shadow: inset 0 0 0 1px var(--bn-ok-line); }


/* ------------------------------------------------------------ Burn + Match -- */
/* The page's first useful element. Fixed structure from the first paint: every state only changes text inside boxes
   that already have their size (status: two lines, notes: one line), so nothing below moves. */
.bn-match { overflow: hidden; border-color: var(--bn-amber-line); background: radial-gradient(120% 95% at 0% 0%, #FFF2DC 0%, var(--bn-card) 58%); }
.bn-match::before { content: ''; position: absolute; left: -54px; top: -64px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 154, 58, .2), rgba(242, 154, 58, 0)); pointer-events: none; }
.bn-match > * { position: relative; }
.bn-match__head { display: flex; align-items: center; gap: 14px; }
.bn-match__flame { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(160deg, #FFF7E8, #FFE4BE); box-shadow: inset 0 0 0 1px var(--bn-amber-line), 0 10px 24px -14px rgba(201, 70, 27, .6); }
.bn-match__flame svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 3px rgba(229, 101, 31, .32)); }
.bn-match__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); line-height: 1.15; color: var(--bn-choc); }
.bn-match__lede { max-width: 62ch; font-size: 1.02rem; color: var(--brown-soft); text-wrap: pretty; }
.bn-match > .bn-match__lede { margin-top: 10px; }
.bn-match__closed { padding: 12px 16px; border-radius: 16px; border: 1.5px dashed var(--bn-amber-line); background: #FFFAF1; max-width: 80ch; color: var(--brown-soft); font-size: .95rem; }
.bn-match__closed strong { color: var(--bn-choc); }

.bn-match__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.bn-match__fact { min-width: 0; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bn-match__fact dt { font-family: 'Space Mono', ui-monospace, monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.bn-match__fact dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 4px 0 0; }
.bn-match__num { font-family: 'Fredoka', ui-rounded, system-ui, sans-serif; font-size: 1.3rem; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--bn-choc); }
.bn-match__unit { font-family: 'Space Mono', ui-monospace, monospace; font-size: .68rem; letter-spacing: .06em; color: var(--brown-soft); }
/* the reserve's room is kept from the first paint ("—" → 49,000,000: tabular digits, ≤ 10ch), so the unit never moves */
.bn-match__num[data-m="reserve"] { min-width: 10ch; }
.bn-match__fact .bn-match__sub { display: block; margin-top: 2px; min-height: 1.4em; font-size: .8rem; line-height: 1.4; color: var(--brown-soft); }

.bn-match__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.bn-match__label { font-weight: 700; font-size: .95rem; color: var(--bn-choc); }
.bn-match__field { display: flex; align-items: center; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s var(--ease); }
.bn-match__field:focus-within { box-shadow: inset 0 0 0 2px var(--bn-amber), 0 0 0 4px rgba(242, 154, 58, .2); }
.bn-match__input { flex: 1 1 auto; width: 100%; min-width: 0; padding: 14px 16px; border: 0; background: transparent; font-family: 'Fredoka', ui-rounded, system-ui, sans-serif; font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--bn-choc); font-variant-numeric: tabular-nums; }
.bn-match__input:focus { outline: none; }
.bn-match__input::placeholder { color: #B7A68E; }
.bn-match__input:disabled { cursor: not-allowed; color: var(--brown-soft); }
.bn-match__suffix { flex: none; padding-right: 16px; font-family: 'Space Mono', ui-monospace, monospace; font-size: .72rem; letter-spacing: .06em; color: var(--brown-soft); }
.bn-match__presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bn-match__preset { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--brown); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .14s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease); }
.bn-match__preset:hover:not(:disabled) { border-color: var(--gold); background: #FFF4DC; }
.bn-match__preset:disabled { opacity: .55; cursor: not-allowed; }
.bn-match__preset:focus-visible, .bn-match__wallet:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.bn-match__help { min-height: 1.4em; font-size: .82rem; color: var(--brown-soft); }

.bn-match__preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-radius: 16px; background: #FFF8EC; box-shadow: inset 0 0 0 1px var(--bn-amber-line); }
.bn-match__preview > div { min-width: 0; padding: 12px 14px; }
.bn-match__preview > div + div { border-left: 1px dashed var(--bn-amber-line); }
.bn-match__preview dt { font-size: .76rem; color: var(--brown-soft); }
.bn-match__preview dd { margin: 4px 0 0; font-family: 'Fredoka', ui-rounded, system-ui, sans-serif; font-size: 1.12rem; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--bn-choc); }
.bn-match__preview .is-total dt { color: var(--bn-amber-deep); font-weight: 700; }
.bn-match__preview .is-total dd { font-weight: 600; color: var(--bn-amber-deep); }

.bn-match__warn { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--bn-warn-bg); color: var(--bn-warn); box-shadow: inset 0 0 0 1px var(--bn-warn-line); font-size: .9rem; line-height: 1.45; }
.bn-match__warn svg { flex: none; margin-top: 1px; }

.bn-match__steps { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: .88rem; color: var(--brown-soft); }
.bn-match__steps[hidden], .bn-match__steps li[hidden] { display: none; }
.bn-match__steps li { display: inline-flex; align-items: center; gap: 8px; }
.bn-match__stepdot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--line); }
.bn-match__steps li[data-current="true"] { color: var(--bn-choc); font-weight: 700; }
.bn-match__steps li[data-current="true"] .bn-match__stepdot { background: #FFF1DE; box-shadow: inset 0 0 0 2px var(--bn-amber); }
.bn-match__steps li[data-done="true"] .bn-match__stepdot { background: var(--bn-ok); box-shadow: none; }
.bn-match__steps li[data-done="true"] .bn-match__stepdot::after { content: ''; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.bn-match__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bn-match__go { min-height: 52px; min-width: min(100%, 280px); padding: 12px 28px; font-size: 1.05rem; font-weight: 600; background: linear-gradient(180deg, #F6B25A 0%, #EE8F35 100%); color: #2B1607; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 4px rgba(169, 79, 18, .18), 0 12px 24px -14px rgba(201, 70, 27, .65); }
.bn-match__go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 8px rgba(169, 79, 18, .2), 0 16px 28px -14px rgba(201, 70, 27, .7); }
.bn-match__go:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.bn-match__wallets { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-match__wallets[hidden] { display: none; }
.bn-match__wallet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; color: var(--brown); font: inherit; font-weight: 700; cursor: pointer; }
.bn-match__wallet img { width: 20px; height: 20px; border-radius: 5px; }
/* fixed room for the longest message at each width (3 lines here, 5 on phones): a new message never moves the page */
.bn-match__status { min-height: 4.5em; max-width: 72ch; font-size: .93rem; line-height: 1.5; color: var(--brown-soft); }
.bn-match__txlink { min-height: 1.5em; font-size: .86rem; line-height: 1.5; }
.bn-match__txlink a { font-family: 'Space Mono', ui-monospace, monospace; font-size: .8rem; color: var(--gold-deep); }
.bn-match > .bn-match__txlink { margin-top: 2px; }
.bn-match__status.is-ok { color: var(--bn-ok); font-weight: 600; }
.bn-match__status.is-warn { color: #7A4210; }
.bn-match__status.is-error { color: var(--bn-warn); }
.bn-match__status a { color: var(--gold-deep); font-weight: 400; }
.bn-match__rule { max-width: 80ch; font-size: .82rem; line-height: 1.5; color: var(--brown-soft); }

/* closed: the explanation only; nothing to type, nothing to press. Switched off in the page itself (data-match-enabled
   "false") it is closed from the first paint; switched on, the full card is there from the first paint (data-state
   "loading", everything disabled) so nothing moves when the data arrives */
.bn-match:is([data-state="closed"], [data-match-enabled="false"]) :is(.bn-match__facts, .bn-match__form, .bn-match__preview, .bn-match__warn,
  .bn-match__steps, .bn-match__actions, .bn-match__status, .bn-match__txlink, .bn-match__wallets) { display: none; }
.bn-match:not([data-state="closed"]):not([data-match-enabled="false"]) .bn-match__closed { display: none; }

/* the one celebration: embers rise once after a confirmed burn */
.bn-match__embers { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; overflow: hidden; pointer-events: none; }
.bn-match__embers span { position: absolute; bottom: -8px; left: var(--x); width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #FFF0BF 0%, #F6A447 50%, rgba(201, 70, 27, 0) 72%); opacity: 0; transform: translate3d(0, 0, 0) scale(var(--s)); animation: bn-ember 1.3s var(--d) cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes bn-ember { 0% { opacity: 0; transform: translate3d(0, 0, 0) scale(var(--s)); } 15% { opacity: .95; } 100% { opacity: 0; transform: translate3d(var(--drift), -160px, 0) scale(calc(var(--s) * .35)); } }
@keyframes bn-flare { 0%, 100% { box-shadow: inset 0 0 0 1px var(--bn-amber-line), 0 10px 24px -14px rgba(201, 70, 27, .6); } 35% { box-shadow: inset 0 0 0 1px var(--bn-amber), 0 0 0 7px rgba(242, 154, 58, .22), 0 14px 30px -10px rgba(201, 70, 27, .7); } }
.bn-match.is-celebrating .bn-match__flame { animation: bn-flare 1.2s ease-out 1; }

/* your transactions in progress (sent from this browser; confirmed records live in the table) */
.bn-pending { display: grid; gap: 6px; padding: 12px 16px; border-radius: 14px; background: #FFF8EE; box-shadow: inset 0 0 0 1px var(--bn-amber-line); }
.bn-pending[hidden] { display: none; }
.bn-pending__title { font-size: 1rem; color: var(--bn-choc); }
.bn-pending__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-pending__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: .88rem; }
.bn-pending__what { font-weight: 700; color: var(--brown); }
.bn-pending__status { color: var(--brown-soft); }
.bn-pending__item.is-confirmed .bn-pending__status { color: var(--bn-ok); }
.bn-pending__item.is-failed .bn-pending__status { color: var(--bn-warn); }
.bn-pending__item a { font-family: 'Space Mono', ui-monospace, monospace; font-size: .8rem; color: var(--gold-deep); }

/* history */
.bn-filters { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.bn-filter { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--brown); font: inherit; font-size: .88rem; cursor: pointer; transition: transform .16s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.bn-filter:hover { border-color: var(--gold); }
.bn-filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.bn-filtersets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.bn-filters--quiet .bn-filter { min-height: 40px; font-size: .82rem; }
.bn-kind { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: 'Space Mono', ui-monospace, monospace; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.bn-kind--matched { background: #FFE8C8; color: #7A3A0C; box-shadow: inset 0 0 0 1px var(--bn-amber-line); }
.bn-kind--other { background: #F3EEE6; color: #5E5040; box-shadow: inset 0 0 0 1px #DDD2C2; }
.bn-method__how { display: block; margin-top: 3px; font-size: .72rem; }
.bn-table td.bn-total { font-weight: 700; color: var(--bn-choc); }
.bn-chart { margin: 0; }
.bn-chart figcaption { font-size: .88rem; color: var(--brown-soft); }
.bn-chart__box { margin-top: 8px; min-height: 180px; color: var(--brown-soft); font-size: .88rem; }
.bn-chart__box svg { display: block; width: 100%; height: auto; overflow: visible; }
.bn-chart__box .axis { font-family: 'Space Mono', ui-monospace, monospace; font-size: 10px; fill: var(--brown-soft); }
.bn-chart__box .grid { stroke: var(--line); stroke-width: 1; }
.bn-chart__box .step { fill: none; stroke: var(--bn-amber-deep); stroke-width: 2; stroke-linejoin: round; }
.bn-chart__box .area { fill: rgba(242, 154, 58, .16); }
.bn-chart__box .dot { fill: var(--bn-amber); stroke: var(--bn-choc); stroke-width: 1.2; }
.bn-chart__empty { display: grid; place-items: center; min-height: 180px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line); text-align: center; }

.bn-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.bn-table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.bn-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.bn-table th, .bn-table td { padding: 10px 9px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.bn-table th:first-child, .bn-table td:first-child { padding-left: 12px; }
.bn-table th:last-child, .bn-table td:last-child { padding-right: 12px; }
.bn-table th { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brown-soft); background: #FFF8EC; }
.bn-table tbody tr:last-child td { border-bottom: 0; }
.bn-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bn-when span { display: block; }
.bn-when__t { font-size: .78rem; color: var(--brown-soft); }
.bn-method { font-family: 'Space Mono', ui-monospace, monospace; font-size: .78rem; color: var(--brown-soft); }
.bn-table td.bn-kind { white-space: normal; min-width: 7.5em; }
.bn-table td.num { font-family: 'Space Mono', ui-monospace, monospace; font-size: .78rem; }
.bn-table a { color: var(--gold-deep); font-family: 'Space Mono', ui-monospace, monospace; font-size: .82rem; }
.bn-table tr.is-new td { animation: bn-row 1.4s var(--ease) 1; }
.bn-empty { padding: 22px 12px !important; text-align: center !important; white-space: normal !important; color: var(--brown-soft); }
.bn-swipe { display: none; }
.bn-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* transparency */
.bn-facts-list { display: grid; gap: 12px; }
.bn-facts-list li { max-width: 80ch; color: var(--brown-soft); font-size: .97rem; }
.bn-facts-list strong { color: var(--brown); }
.bn-links { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-contract { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bn-contract__label { font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.bn-contract__addr { min-width: 0; font-family: 'Space Mono', ui-monospace, monospace; font-size: .82rem; padding: 4px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); overflow-wrap: anywhere; word-break: break-all; }
.bn-fine { max-width: 80ch; font-size: .84rem; line-height: 1.55; color: var(--brown-soft); }

/* ------------------------------------------------------------- motion -- */
@keyframes bn-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bn-row { 0% { background-color: rgba(242, 154, 58, .22); } 100% { background-color: rgba(242, 154, 58, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .page-status[data-state="loading"] .page-status__dot { animation: bn-pulse 1.2s ease-in-out infinite; }
  .bn-filter:active, .bn-match__preset:active:not(:disabled), .bn-match__wallet:active { transform: scale(.96); }
}
@media (prefers-reduced-motion: reduce) {
  .page-status[data-state="loading"] .page-status__dot, .bn-table tr.is-new td { animation: none; }
  .bn-match__embers { display: none; }
  .bn-match.is-celebrating .bn-match__flame { animation: none; }
  .bn-match__field, .bn-match__preset, .bn-match__go:hover:not(:disabled) { transition: none; transform: none; }
}

/* --------------------------------------------------------- responsive -- */
@media (max-width: 860px) {
  .bn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-stat--hero { grid-row: auto; }
  .bn-stat--data { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bn-match__flame { width: 46px; height: 46px; border-radius: 15px; }
  .bn-match__flame svg { width: 28px; height: 28px; }
  .bn-match__facts { grid-template-columns: minmax(0, 1fr); }
  .bn-match__preview { grid-template-columns: minmax(0, 1fr); }
  .bn-match__preview > div + div { border-left: 0; border-top: 1px dashed var(--bn-amber-line); }
  .bn-match__preview > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; }
  .bn-match__preview dd { margin: 0; text-align: right; }
  .bn-match__go { width: 100%; }
  .bn-match__status { min-height: 7.5em; }
  .bn-stats { grid-template-columns: minmax(0, 1fr); }
  .bn-stat--hero, .bn-stat--data { grid-column: auto; }
  .bn-section { border-radius: 20px; }
  .bn-head .bn-filters { width: 100%; }
  .bn-swipe { display: block; }
}

/* exact decimals stay on screen, just smaller than the whole tokens */
.bn-frac { font-size: .55em; letter-spacing: .01em; color: var(--brown-soft); }
