/* xmrfun — forge palette: warm near-black, copper accent (heat, momentum), teal for "valid", gold for "moving". */
:root {
  --bg: oklch(0.17 0.008 20);
  --surface: oklch(0.21 0.009 30);
  --surface-2: oklch(0.25 0.011 35);
  --line: oklch(0.31 0.012 40);
  --text: oklch(0.94 0.008 70);
  --dim: oklch(0.70 0.014 65);
  --faint: oklch(0.53 0.014 60);
  --accent: oklch(0.70 0.155 48);
  --accent-hi: oklch(0.78 0.15 55);
  --accent-ink: oklch(0.18 0.03 40);
  --accent-soft: oklch(0.70 0.155 48 / 0.14);
  --ok: oklch(0.74 0.09 185);
  --ok-soft: oklch(0.74 0.09 185 / 0.12);
  --warn: oklch(0.80 0.13 88);
  --warn-soft: oklch(0.80 0.13 88 / 0.12);
  --bad: oklch(0.66 0.16 25);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 14px;
  --tabs-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.45 var(--sans); min-height: 100dvh; overscroll-behavior-y: none; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

.shell { max-width: 760px; margin: 0 auto; padding: env(safe-area-inset-top) 16px calc(var(--tabs-h) + env(safe-area-inset-bottom) + 24px); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 10px; background: linear-gradient(var(--bg) 70%, transparent); }
.brand { font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand span { color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font: 500 14px var(--mono); cursor: pointer;
  transition: transform .12s var(--ease), border-color .2s; }
.chip small { color: var(--faint); font-size: 11px; }
.chip:active { transform: scale(.95); }
.chip:focus-visible, .btn:focus-visible, .tabs a:focus-visible, .card:focus-visible, .seg button:focus-visible,
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.live { background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
.dot.busy { background: var(--warn); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- live ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); margin: 0 -16px 14px; height: 32px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 28px; white-space: nowrap; padding-left: 16px; height: 100%; align-items: center;
  font: 12px var(--mono); color: var(--dim); animation: tick 40s linear infinite; width: max-content; }
.ticker-track b { color: var(--text); font-weight: 500; }
.ticker-track .hot { color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- headings / text ---------- */
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(38px, 11vw, 64px); font-weight: 900; line-height: .92; }
h2 { font-size: 26px; font-weight: 800; line-height: 1; }
h3 { font-size: 20px; font-weight: 700; }
.lede { color: var(--dim); max-width: 52ch; margin: 10px 0 0; }
.label { font: 500 11px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.sec { margin-top: 28px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head a { font: 12px var(--mono); color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 6px 0 4px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-cta { display: flex; gap: 10px; margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer;
  transition: transform .12s var(--ease), background .2s, border-color .2s, opacity .2s; user-select: none; }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hi); }
.btn.block { width: 100%; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.loading { pointer-events: none; }
.btn.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor;
  border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards / feed ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  cursor: pointer; text-align: left; padding: 0; display: flex; flex-direction: column;
  transition: transform .15s var(--ease), border-color .2s; animation: rise .45s var(--ease) both; }
.card:hover { border-color: var(--faint); }
.card:active { transform: scale(.97); }
.card .art { aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.card .art img, .card .art canvas { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.card .body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.card .name { font: 800 19px/1.05 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .sub { font: 12px var(--mono); color: var(--dim); display: flex; justify-content: space-between; gap: 6px; }
.card .tag { position: absolute; top: 8px; left: 8px; }
.meter { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px;
  font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; background: oklch(0.17 0.008 20 / .8);
  border: 1px solid var(--line); color: var(--dim); backdrop-filter: blur(6px); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.valid { color: var(--ok); border-color: oklch(0.74 0.09 185 / .4); }
.pill.in_transit, .pill.reserved, .pill.paid, .pill.queued { color: var(--warn); border-color: oklch(0.80 0.13 88 / .4); }
.pill.sale, .pill.coin { color: var(--accent); border-color: oklch(0.70 0.155 48 / .45); }
.pill.filled { color: var(--ok); }

/* ---------- lists (market, activity) ---------- */
.list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px;
  background: var(--surface); cursor: pointer; transition: background .15s; animation: rise .35s var(--ease) both; }
.row:hover { background: var(--surface-2); }
.row .ico { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.row .ico canvas, .row .ico img { width: 100%; height: 100%; image-rendering: pixelated; object-fit: cover; display: block; }
.row .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .s { font: 12px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .px { font: 600 15px var(--mono); text-align: right; }
.row .px small { display: block; font-size: 11px; color: var(--faint); font-weight: 400; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--accent-soft); } }

.empty { padding: 28px 16px; text-align: center; color: var(--faint); border: 1px dashed var(--line); border-radius: var(--r); }
.empty b { display: block; color: var(--dim); font-weight: 600; margin-bottom: 4px; }
.skel { background: linear-gradient(90deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.2s linear infinite; border-radius: var(--r); min-height: 180px; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- detail ---------- */
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--dim); font: 13px var(--mono); margin-bottom: 12px; min-height: 36px; }
.coll-hero { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.coll-hero .art { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.coll-hero .art img, .coll-hero .art canvas { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stat b { display: block; font: 800 22px/1.1 var(--display); }
.stat span { font: 11px var(--mono); color: var(--faint); text-transform: uppercase; }

/* ---------- forms ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.seg button { min-height: 44px; border: 0; border-radius: 9px; background: none; color: var(--dim); font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font: 500 12px var(--mono); color: var(--dim); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-size: 16px; transition: border-color .2s; }
.field input:hover, .field textarea:hover { border-color: var(--faint); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .hint { font-size: 12px; color: var(--faint); }
.field .err { font-size: 12px; color: var(--bad); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 12px; margin-top: 16px;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.preview .art { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.preview .art img, .preview .art canvas { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.cost { display: flex; justify-content: space-between; font: 13px var(--mono); color: var(--dim); padding: 12px 2px 0; }
.cost b { color: var(--text); font-weight: 500; }
.sticky-cta { position: sticky; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 10px); margin-top: 20px; z-index: 5; }

/* ---------- wallet ---------- */
.balcard { padding: 18px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 60%), var(--surface); }
.balcard .big { font: 900 52px/1 var(--display); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.balcard .big small { font-size: 22px; color: var(--dim); margin-left: 4px; }
.addr { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg);
  border: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); word-break: break-all; cursor: pointer; }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: 220px; margin: 12px auto; }
.qr svg { display: block; width: 100%; height: auto; }
.seed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; counter-reset: w; }
.seed span { padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: 13px var(--mono); }
.seed span::before { counter-increment: w; content: counter(w) " "; color: var(--faint); font-size: 10px; }

/* ---------- progress steps ---------- */
.steps { display: grid; gap: 10px; margin-top: 14px; }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--faint); }
.step i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center;
  font: 600 12px var(--mono); font-style: normal; transition: all .3s var(--ease); }
.step.now { color: var(--text); }
.step.now i { border-color: var(--accent); border-right-color: transparent; animation: spin 1s linear infinite; }
.step.done { color: var(--dim); }
.step.done i { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.step small { display: block; font: 12px var(--mono); color: var(--faint); }

/* ---------- mine ---------- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font: 13px var(--mono); }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; word-break: break-all; }
pre.code { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: 12px/1.6 var(--mono);
  white-space: pre-wrap; word-break: break-all; margin: 10px 0 0; }

/* ---------- tab bar ---------- */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: oklch(0.17 0.008 20 / .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabs a { display: grid; justify-items: center; gap: 2px; font: 500 10.5px var(--mono); color: var(--faint); padding: 6px 0; transition: color .2s; }
.tabs a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.tabs a[aria-current="page"] { color: var(--text); }
.tabs a[aria-current="page"] svg { transform: translateY(-1px); stroke: var(--accent); }
.tabs .fab { justify-self: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; margin-top: -22px; box-shadow: 0 8px 24px oklch(0.70 0.155 48 / .35);
  transition: transform .15s var(--ease); }
.tabs .fab svg { stroke-width: 2.6; width: 26px; height: 26px; stroke: currentColor !important; }
.tabs .fab:active { transform: scale(.9) rotate(90deg); }

/* ---------- sheet ---------- */
.sheet-scrim { position: fixed; inset: 0; z-index: 40; background: oklch(0 0 0 / .55); animation: fade .2s both; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88dvh; overflow-y: auto; max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 10px 18px calc(24px + env(safe-area-inset-bottom)); animation: up .32s var(--ease) both; }
.sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 10px); z-index: 60; display: grid; gap: 8px;
  justify-items: center; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; max-width: 440px; width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--line); box-shadow: 0 10px 30px oklch(0 0 0 / .4); display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  align-items: start; animation: drop .35s var(--ease) both; font-size: 14px; }
.toast.out { animation: lift .25s ease-in both; }
.toast .ti { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); }
.toast.ok .ti { background: var(--ok); color: var(--bg); }
.toast.err .ti { background: var(--bad); color: var(--bg); }
.toast.info .ti { background: var(--accent); color: var(--accent-ink); }
@keyframes drop { from { opacity: 0; transform: translateY(-16px) scale(.97); } }
@keyframes lift { to { opacity: 0; transform: translateY(-12px); } }

#fx { position: fixed; inset: 0; pointer-events: none; z-index: 70; width: 100vw; height: 100vh; }

/* ---------- wider screens re-compose ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: 40%; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .shell { max-width: 1040px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail { grid-auto-columns: 28%; }
  .tabs { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; width: 420px; border: 1px solid var(--line); border-radius: 22px; height: var(--tabs-h); padding: 0; }
  .shell { padding-bottom: 120px; }
  .sticky-cta { bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; padding-left: 0; overflow-x: auto; }
}

/* ---------- landing (Decide: one dominant action, then proof) ---------- */
.mega { font-size: clamp(52px, 15vw, 104px); line-height: .88; margin-top: 10px; }
.landing .hero { padding-top: 18px; }
.why { display: grid; gap: 10px; margin-top: 14px; }
.why-i { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); animation: rise .45s var(--ease) both; }
.why-i b { font: 800 20px/1.1 var(--display); text-transform: uppercase; }
.why-i p { margin: 6px 0 0; color: var(--dim); font-size: 14px; }
.why-i:first-child { background: radial-gradient(120% 120% at 0% 0%, var(--accent-soft), transparent 60%), var(--surface); border-color: oklch(0.70 0.155 48 / .35); }
.how { display: grid; gap: 12px; margin-top: 14px; }
.how-col { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.how ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--dim); }
.how ol b { color: var(--text); }
table.vs { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.vs th, .vs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font: 500 11px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.vs tbody th { font-weight: 500; color: var(--dim); }
.vs td:last-child { color: var(--accent-hi); font-weight: 600; }
.vs td:nth-child(2) { color: var(--faint); }
.faq { margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 22px var(--mono); color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; color: var(--dim); animation: rise .3s var(--ease) both; }
.endcap { padding: 22px 18px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 100% at 100% 100%, var(--accent-soft), transparent 60%), var(--surface); }
@media (min-width: 640px) { .why { grid-template-columns: 1fr 1fr; } .how { grid-template-columns: 1fr 1fr; } }

/* ---------- upload ---------- */
.upload { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 84px; padding: 10px;
  border: 1.5px dashed var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; text-align: left;
  transition: border-color .2s, background .2s, transform .12s var(--ease); }
.upload:hover { border-color: var(--faint); }
.upload:active { transform: scale(.98); }
.upload .up-thumb { width: 64px; height: 64px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.upload .up-thumb img { width: 100%; height: 100%; object-fit: cover; animation: rise .3s var(--ease) both; }
.upload .up-thumb svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.upload .up-label { display: grid; gap: 2px; }
.upload .up-label small { color: var(--faint); font: 12px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload.busy { border-color: var(--accent); background: linear-gradient(90deg, var(--surface) 30%, var(--accent-soft) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.1s linear infinite; }
.upload.done { border-style: solid; border-color: oklch(0.74 0.09 185 / .5); }
.upload.err { border-color: var(--bad); }
.upload:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-cta { margin-top: 18px; }
.first { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid oklch(0.70 0.155 48 / .35);
  background: var(--accent-soft); color: var(--dim); font-size: 14px; transition: transform .12s var(--ease); }
.first b { color: var(--text); }
.first:active { transform: scale(.98); }
.chip.cta { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.cta small, .chip.cta .dot { display: none; }

/* ---------- explore ---------- */
.searchbar { position: sticky; top: 58px; z-index: 10; display: grid; gap: 8px; margin: 14px -16px 0; padding: 8px 16px 10px;
  background: linear-gradient(var(--bg) 85%, transparent); }
.searchbar input { width: 100%; min-height: 48px; padding: 0 16px 0 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857a70' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 14px 50% / 18px no-repeat;
  font-size: 16px; transition: border-color .2s; }
.searchbar input:focus-visible { outline: none; border-color: var(--accent); }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font: 500 13px var(--mono); color: var(--dim); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s var(--ease); }
.fchip:hover { border-color: var(--faint); }
.fchip:active { transform: scale(.94); }
.fchip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fchip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
#results .card { animation-duration: .3s; }

/* ---------- price ---------- */
.pricebox { display: grid; gap: 10px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.px-big { font: 900 40px/1 var(--display); font-variant-numeric: tabular-nums; margin: 4px 0; }
.px-big small { font-size: 18px; color: var(--dim); }
.spark { width: 100%; height: 64px; display: block; }
.spark path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark path.up { stroke: var(--ok); }
.spark path.down { stroke: var(--bad); }
.chg { font: 600 12px var(--mono); padding: 2px 6px; border-radius: 6px; vertical-align: middle; }
.chg.up { color: var(--ok); background: var(--ok-soft); }
.chg.down { color: var(--bad); background: oklch(0.66 0.16 25 / .12); }
