/* Offmarket app — shell and components. Monochrome: black, white and greys;
   the only colour on the page is green/red for price direction. */
@font-face { font-family: "Inter Variable"; src: url(assets/fonts/inter-latin.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono Variable"; src: url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2-variations"); font-weight: 100 800; font-display: swap; }

:root {
	color-scheme: dark;
	--bg: #070708; --bg2: #0d0d0f; --panel: rgba(255, 255, 255, 0.028); --panel2: rgba(255, 255, 255, 0.06);
	--line: rgba(255, 255, 255, 0.08); --line2: rgba(255, 255, 255, 0.16);
	--ink: #f6f6f7; --ink2: #b3b4b9; --ink3: #6d6e75;
	--accent: #f6f6f7; --accent2: #d4d5d9; --accent-ink: #070708; --accent-soft: rgba(255, 255, 255, 0.07);
	--up: #3ddc84; --down: #ff5c5c; --info: #a3a4ab;
	--s1: #4f8dff; --s2: #4f8dff;
	--glow-a: rgba(255, 255, 255, 0.075); --glow-b: rgba(255, 255, 255, 0.04);
	--r: 14px; --r-sm: 9px; --bw: 1px;
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); --lift: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
	--display: "Inter Variable", ui-sans-serif, system-ui, sans-serif; --display-w: 600; --display-t: none; --display-ls: -0.035em;
	--body: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
	--mono: "JetBrains Mono Variable", ui-monospace, monospace;
	--blur: 18px; --grid-op: 0.5;
	--side: 68px; --top: 64px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.muted { color: var(--ink3); }
.up { color: var(--up); } .down { color: var(--down); }
.display { font-family: var(--display); font-weight: var(--display-w); text-transform: var(--display-t); letter-spacing: var(--display-ls); line-height: 1.04; }
.display em, .slide em { font-style: normal; color: var(--ink3); }

/* backdrop */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(120px); will-change: transform; }
.bg i:nth-child(1) { left: -25vmax; top: -38vmax; background: radial-gradient(circle, var(--glow-a), transparent 65%); animation: drift 28s var(--ease) infinite alternate; }
.bg i:nth-child(2) { right: -32vmax; top: 10vmax; background: radial-gradient(circle, var(--glow-b), transparent 65%); animation: drift 34s var(--ease) infinite alternate-reverse; }
.bg b { position: absolute; inset: 0; opacity: var(--grid-op); background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%); }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.15); } }

/* ── shell ── */
.side { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: var(--side); display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(var(--blur)); border-right: var(--bw) solid var(--line); overflow: hidden; transition: width 0.35s var(--ease), box-shadow 0.35s; }
.side:hover, .side:focus-within { width: 232px; box-shadow: 30px 0 60px -30px #000; }
.side a { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink2); white-space: nowrap; font-weight: 500; transition: background 0.2s, color 0.2s; position: relative; }
.side a svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side a span { opacity: 0; transform: translateX(-6px); transition: 0.3s var(--ease); }
.side:hover a span, .side:focus-within a span, html.side-pinned .side span { opacity: 1; transform: none; }
.side a:hover { background: var(--panel2); color: var(--ink); }
.side a.on { color: var(--ink); background: var(--panel2); }
.side a.on::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.side .brand { height: 48px; margin-bottom: 10px; gap: 7px; padding: 0 3px; color: var(--ink); align-items: center; }
.side .brand:hover { background: none; }
.side .brand svg { flex: 0 0 42px; width: 42px; height: auto; stroke: none; fill: currentColor; transition: opacity 0.3s; }
.side .brand span { font: 600 17px/1 var(--body); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink3); }
.side .brand:hover svg { opacity: 0.8; }
.side hr { border: 0; border-top: var(--bw) solid var(--line); margin: 8px 4px; }
.side .grow { flex: 1; }

.top { position: sticky; top: 0; z-index: 55; display: flex; align-items: center; gap: 12px; height: var(--top); margin-left: var(--side); padding: 0 24px; background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(var(--blur)) saturate(1.3); border-bottom: var(--bw) solid var(--line); }
.searchbox { position: relative; flex: 1; max-width: 520px; }
.searchbox label { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: var(--r-sm); border: var(--bw) solid var(--line); background: var(--panel); color: var(--ink3); transition: border-color 0.2s, box-shadow 0.2s; }
.searchbox label:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.searchbox kbd { font: 11px var(--mono); padding: 2px 6px; border-radius: 6px; border: var(--bw) solid var(--line2); }
.results { position: absolute; left: 0; right: 0; top: 48px; padding: 6px; border-radius: var(--r); border: var(--bw) solid var(--line2); background: var(--bg2); box-shadow: var(--shadow); max-height: 60vh; overflow: auto; animation: pop 0.25s var(--ease); }
.results a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); }
.results a:hover, .results a.sel { background: var(--panel2); }
.results .r { margin-left: auto; text-align: right; font-size: 13px; }
.results p { padding: 14px; color: var(--ink3); font-size: 14px; }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.burger { display: none; }
/* Brand mark in the bar: the sidebar is off-canvas on a phone, so without this
   there is no Offmarket logo on screen at all. Desktop keeps it in the sidebar. */
.top__brand { display: none; flex: 0 0 auto; align-items: center; color: var(--ink); transition: opacity 0.2s; }
.top__brand svg { display: block; width: 40px; height: auto; fill: currentColor; }
.top__brand:hover { opacity: 0.75; }
/* Wallet entry in the sidebar — on a phone this is the only way to connect,
   since the bar has no room for the button. */
.side__wallet { display: none; }
.side a, .side .side__wallet { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink2); white-space: nowrap; font: 500 15px var(--body); text-align: left; transition: background 0.2s, color 0.2s; position: relative; }
.side .side__wallet svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side .side__wallet span { opacity: 0; transform: translateX(-6px); transition: 0.3s var(--ease); }
.side:hover .side__wallet span, .side:focus-within .side__wallet span, html.side-pinned .side__wallet span { opacity: 1; transform: none; }
.side .side__wallet:hover { background: var(--panel2); color: var(--ink); }
.side .side__wallet.btn--connected { color: var(--ink); }

.page { margin-left: var(--side); padding: 24px 24px 80px; max-width: 1680px; }
.foot { margin-left: var(--side); padding: 22px 24px 28px; border-top: var(--bw) solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: var(--ink3); font-size: 13px; }
.foot a:hover { color: var(--ink); }
.foot .sp { margin-left: auto; }

/* ── atoms ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-sm); border: var(--bw) solid transparent; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s; }
.btn:active { transform: scale(0.97); }
.btn--lg { height: 50px; padding: 0 22px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 24px -12px rgba(255, 255, 255, 0.35); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(0, 0, 0, 0.12) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line2); color: var(--ink2); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: var(--panel2); }
.btn--connected { border-color: var(--line2); background: var(--panel2); color: var(--ink); font-family: var(--mono); font-weight: 500; }
.btn--connected::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 8px rgba(255, 255, 255, 0.7); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: var(--bw) solid var(--line); background: var(--panel); color: var(--ink2); transition: 0.2s; }
.iconbtn:hover { color: var(--ink); background: var(--panel2); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; border: var(--bw) solid var(--line2); font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); animation: blink 1.6s infinite; }
.pill--demo { border-color: color-mix(in srgb, var(--info) 50%, transparent); color: var(--info); background: color-mix(in srgb, var(--info) 9%, transparent); }
@keyframes blink { 50% { opacity: 0.35; } }
.label { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 7px; }
.chg { font: 600 12.5px var(--mono); }
.badge { font: 600 11.5px var(--mono); padding: 3px 7px; border-radius: 7px; }
.badge.up { background: color-mix(in srgb, var(--up) 14%, transparent); }
.badge.down { background: color-mix(in srgb, var(--down) 14%, transparent); }
.kind { font: 500 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 7px; border: var(--bw) solid var(--line2); color: var(--info); }
.kind { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.livedot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.kind--auction { color: var(--ink); border-color: var(--line2); background: var(--panel2); }
.tok { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; font: 600 15px/1 var(--body); color: #fff; background: linear-gradient(135deg, hsl(0 0% calc(38% + var(--h, 20) * 0.07%)), hsl(0 0% 16%)); box-shadow: 0 0 0 var(--bw) var(--line2); }
.tok img { width: 100%; height: 100%; object-fit: cover; }
.tok--lg { width: 60px; height: 60px; font-size: 22px; }
.tok--sm { width: 28px; height: 28px; font-size: 12px; }
.panel { border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--panel); backdrop-filter: blur(calc(var(--blur) / 2)); }
.flash-up { animation: flashUp 1.2s; } .flash-down { animation: flashDown 1.2s; }
@keyframes flashUp { 0%, 40% { color: var(--up); } }
@keyframes flashDown { 0%, 40% { color: var(--down); } }
.skel { border-radius: 8px; background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.reveal { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.sec { margin-top: 36px; }
.sec__head { display: flex; align-items: end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 16px; }
.sec__head h2 { font: var(--display-w) clamp(26px, 2.4vw, 34px)/1.05 var(--display); text-transform: var(--display-t); letter-spacing: var(--display-ls); }
.sec__head p { color: var(--ink3); font-size: 14px; }
.sec__head .sp { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-sm); border: var(--bw) solid var(--line); background: var(--panel); }
.seg button { height: 32px; padding: 0 13px; border: 0; border-radius: calc(var(--r-sm) - 3px); background: transparent; color: var(--ink3); font-size: 13.5px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: var(--bg); }
.seg--wide { display: flex; } .seg--wide button { flex: 1; height: 40px; }
.more { color: var(--ink); font-weight: 500; font-size: 14px; }
.more:hover { text-decoration: underline; }

/* ── discover: hero ── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.layout > *, .tlayout > * { min-width: 0; }
.rail { position: sticky; top: calc(var(--top) + 16px); display: grid; gap: 16px; }
.hero { position: relative; min-height: 380px; border-radius: calc(var(--r) + 8px); overflow: hidden; border: var(--bw) solid var(--line2); background: var(--bg2); isolation: isolate; }
.hero__track { display: flex; min-height: 380px; transition: transform 0.8s var(--ease); }
.slide { position: relative; flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 34px 64px 50px 44px; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 130% at 88% 10%, var(--tint, var(--glow-a)), transparent 60%), radial-gradient(60% 80% at 0% 100%, var(--glow-b), transparent 70%); }
.slide canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; }
.slide h1, .slide h2 { font: var(--display-w) clamp(34px, 3.6vw, 56px)/1 var(--display); text-transform: var(--display-t); letter-spacing: var(--display-ls); text-wrap: balance; }
.slide p { color: var(--ink2); margin-top: 14px; max-width: 46ch; font-size: 15.5px; }
.slide .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.slide .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); }
.slide .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--glow-a); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.slide__fig { position: relative; min-width: 0; padding: 18px; border-radius: var(--r); border: var(--bw) solid var(--line2); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(var(--blur)); box-shadow: var(--shadow); }
.slide__fig .row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.slide__fig .row div { flex: 1; min-width: 0; }
.slide__fig strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide__fig small { color: var(--ink3); font-size: 12.5px; }
.slide__fig .big { font: 500 22px/1 var(--mono); white-space: nowrap; }
.slide__fig svg.chart { width: 100%; height: 130px; overflow: visible; margin-top: 6px; }
.keeps { display: grid; gap: 9px; }
.keep { display: grid; grid-template-columns: 118px 1fr 52px 56px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink2); }
.keep div { height: 8px; border-radius: 3px; background: var(--panel2); overflow: hidden; }
.keep i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--ink3), var(--ink)); transform-origin: left; animation: growx 1.1s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 90ms); }
.keep b { text-align: right; font-weight: 500; font-size: 12.5px; }
.keep b.down { color: var(--down); }
@keyframes growx { from { transform: scaleX(0); } }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0; transition: opacity 0.3s; }
.hero:hover .hero__nav { opacity: 1; }
.hero__nav--p { left: 10px; } .hero__nav--n { right: 10px; }
.hero__dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 6px; z-index: 2; }
.hero__dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: var(--line2); overflow: hidden; position: relative; }
.hero__dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stat { padding: 16px 18px; border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--panel); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; }
.stat:hover { transform: translateY(-3px); border-color: var(--line2); }
.stat b { display: block; font: 500 24px/1.1 var(--mono); position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b .chg { display: block; margin-top: 6px; font-size: 13px; }
.stat small { position: relative; z-index: 1; }
.stat small { color: var(--ink3); font-size: 12.5px; }
.stat svg { position: absolute; right: 0; bottom: 0; width: 44%; height: 62%; opacity: 0.9; mask-image: linear-gradient(90deg, transparent, #000 35%); }

/* ── listing cards ── */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.scroller > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r); border: var(--bw) solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); text-align: left; width: 100%; overflow: hidden; isolation: isolate; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.34); box-shadow: var(--lift); }
.card:hover::after { opacity: 1; }
.card__head { display: flex; align-items: center; gap: 11px; }
.card__head > div { flex: 1; min-width: 0; }
.card__head strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__head small { font: 12px var(--mono); color: var(--ink3); }
.card__spark { height: 60px; margin: 0 -16px; }
.card__spark svg { width: 100%; height: 100%; overflow: visible; }
.card__nums { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.card__nums b { display: block; font: 500 19px/1.1 var(--mono); }
.card__nums .r { text-align: right; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: var(--bw) solid var(--line); font-size: 12.5px; color: var(--ink2); }
.timer { display: inline-flex; align-items: center; gap: 7px; }
.ring { width: 17px; height: 17px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; stroke: var(--panel2); }
.ring .fg { stroke: var(--ink2); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.example { position: absolute; top: 0; right: 0; padding: 3px 9px; border-radius: 0 0 0 10px; font: 500 9.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); background: rgba(255, 255, 255, 0.05); border-left: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); }
.example--real { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.note { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--r-sm); border: var(--bw) dashed color-mix(in srgb, var(--info) 45%, transparent); background: color-mix(in srgb, var(--info) 6%, transparent); font-size: 13.5px; color: var(--ink2); }
.empty { grid-column: 1/-1; padding: 44px 20px; text-align: center; color: var(--ink3); border: var(--bw) dashed var(--line2); border-radius: var(--r); }
.empty b { display: block; font: var(--display-w) 26px var(--display); color: var(--ink); margin-bottom: 4px; }

/* ── token table ── */
.tablewrap { border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--panel); overflow-x: auto; }
table.tokens { width: 100%; border-collapse: collapse; font-size: 14px; }
.tokens th { text-align: right; padding: 11px 14px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); background: var(--bg2); border-bottom: var(--bw) solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.tokens th:hover { color: var(--ink); }
.tokens th.sorted { color: var(--ink); }
.tokens th:nth-child(-n + 2), .tokens td:nth-child(-n + 2) { text-align: left; }
.tokens td { padding: 10px 14px; border-bottom: var(--bw) solid var(--line); text-align: right; white-space: nowrap; }
.tokens tr:last-child td { border-bottom: 0; }
.tokens tbody tr { cursor: pointer; transition: background 0.2s; animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.tokens tbody tr:hover { background: var(--panel2); }
.tokens tbody tr:hover .sell { opacity: 1; transform: none; }
.tokens .rank { color: var(--ink3); width: 38px; font: 12.5px var(--mono); }
.tokens .name { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.tokens .name strong { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.tokens .name small { color: var(--ink3); font: 12px var(--mono); }
.tokens .spark { width: 120px; height: 36px; }
.tokens .sell { opacity: 0; transform: translateX(6px); transition: 0.25s var(--ease); }
.tokens .hasoff { display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); vertical-align: middle; }

/* ── rail ── */
.railbox { padding: 16px; }
.railbox header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.railbox h3 { font: var(--display-w) 22px/1 var(--display); text-transform: var(--display-t); }
.feed { display: grid; gap: 2px; max-height: 420px; overflow: hidden; mask-image: linear-gradient(180deg, #000 80%, transparent); }
.feed li:not(:has(.fillrow)), .mini { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: var(--r-sm); }
.feed li { animation: fillIn 0.7s var(--ease) both; }
@keyframes fillIn { from { opacity: 0; transform: translateY(-14px); background: var(--accent-soft); } }
.feed li:hover, .mini:hover { background: var(--panel2); }
.feed strong, .mini strong { display: block; font-size: 13.5px; font-weight: 500; }
.feed small, .mini small { font-size: 11.5px; color: var(--ink3); }
.feed .r, .mini .r { text-align: right; }

/* ── token page ── */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink3); font-size: 13.5px; margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.thead { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-bottom: 20px; }
.thead h1 { font: var(--display-w) clamp(32px, 3.4vw, 50px)/1 var(--display); text-transform: var(--display-t); }
.thead .sym { color: var(--ink3); font: 14px var(--mono); margin-left: 10px; }
.thead .price { margin-left: auto; text-align: right; }
.thead .price b { display: block; font: 500 clamp(26px, 2.6vw, 38px)/1 var(--mono); }
.copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 8px; border-radius: 8px; border: var(--bw) solid var(--line); background: var(--panel); font: 12px var(--mono); color: var(--ink2); }
.copy:hover { color: var(--ink); border-color: var(--line2); }
.tlayout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.chartbox { padding: 16px 16px 8px; position: relative; }
.chartbox header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.chartbox header .sp { margin-left: auto; }
.bigchart { position: relative; height: 440px; }
.bigchart a[href*="tradingview"] { opacity: 0.35; transition: opacity 0.2s; } .bigchart a[href*="tradingview"]:hover { opacity: 0.9; }
.bigchart .grid line { stroke: var(--line); }
.bigchart text { fill: var(--ink3); font: 11px var(--mono); }
.tip { position: absolute; z-index: 5; padding: 8px 11px; border-radius: 10px; background: var(--bg2); border: var(--bw) solid var(--line2); box-shadow: var(--shadow); font-size: 12.5px; pointer-events: none; transform: translate(-50%, -115%); white-space: nowrap; }
.tip b { font-family: var(--mono); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.kpi { padding: 14px 16px; }
.kpi b { font: 500 18px/1.2 var(--mono); }
.sellbox { padding: 20px; display: grid; gap: 14px; }
.sellbox h2 { font: var(--display-w) 28px/1 var(--display); text-transform: var(--display-t); }
.input { display: block; }
.input > span { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink2); margin-bottom: 6px; }
.input input { width: 100%; height: 44px; padding: 0 13px; border-radius: var(--r-sm); border: var(--bw) solid var(--line2); background: color-mix(in srgb, var(--bg) 60%, transparent); font-family: var(--mono); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.input input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.quick { display: flex; gap: 6px; margin-top: 6px; }
.quick button { flex: 1; height: 26px; border-radius: 8px; border: var(--bw) solid var(--line); background: var(--panel); font: 11.5px var(--mono); color: var(--ink2); transition: 0.2s; }
.quick button:hover { border-color: var(--accent); color: var(--ink); }
.field__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink2); margin-bottom: 8px; }
.field__top output { font: 500 14px var(--mono); color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--accent) var(--p), var(--panel2) var(--p)); }
input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: var(--panel2); }
input[type="range"]::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7.5px; border-radius: 50%; background: var(--bg); border: 5px solid var(--ink); box-shadow: 0 0 0 5px var(--accent-soft); cursor: grab; transition: transform 0.2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); }
.impact { padding: 12px 14px; border-radius: var(--r-sm); background: var(--panel); border: var(--bw) solid var(--line2); font-size: 13px; color: var(--ink2); }
.scale { display: flex; justify-content: space-between; margin-top: 4px; font: 10.5px var(--mono); color: var(--ink3); }
.adv { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: var(--bw) solid var(--line); }
.adv b { font: 600 30px/1 var(--mono); letter-spacing: -0.03em; }
.adv b.up { color: var(--up); } .adv b.down { color: var(--down); }
.adv span { font-size: 12.5px; color: var(--ink2); line-height: 1.35; }
.impact .bars { display: grid; gap: 7px; margin: 10px 0 8px; }
.impact .bar { display: grid; grid-template-columns: 74px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.impact .bar i { display: block; height: 8px; border-radius: 3px; width: 0; transition: width 0.6s var(--ease); }
.impact .bar .t { background: var(--panel2); border-radius: 3px; overflow: hidden; }
.impact b { color: var(--ink); }
.sellchart { width: 100%; height: 120px; overflow: visible; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: var(--bw) solid var(--line); font-size: 13.5px; }
.rows > div:last-child { border-bottom: 0; }
.rows dt { color: var(--ink3); }
.err { padding: 9px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--down) 12%, transparent); border: var(--bw) solid color-mix(in srgb, var(--down) 45%, transparent); font-size: 13.5px; }
.done { text-align: center; display: grid; gap: 12px; }
.addr { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--r-sm); border: var(--bw) solid var(--line2); background: var(--panel2); font: 13px var(--mono); word-break: break-all; text-align: left; }
.done ol { text-align: left; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink2); counter-reset: d; }
.done li { counter-increment: d; position: relative; padding-left: 30px; }
.done li::before { content: counter(d); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); font: 600 11.5px var(--mono); color: var(--ink); }
.pools .mini { grid-template-columns: 1fr auto auto; gap: 16px; font-size: 13.5px; }

/* ── pick / lookup pages ── */
.center { max-width: 760px; margin: 5vh auto 0; text-align: center; }
.center h1 { font: var(--display-w) clamp(38px, 5vw, 68px)/1 var(--display); text-transform: var(--display-t); letter-spacing: var(--display-ls); }
.center > p { color: var(--ink2); margin: 14px auto 26px; max-width: 56ch; font-size: 16.5px; }
.bigsearch { display: flex; gap: 10px; }
.bigsearch input { flex: 1; height: 56px; padding: 0 18px; border-radius: var(--r); border: var(--bw) solid var(--line2); background: var(--panel); font-size: 16px; }
.bigsearch input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.bigsearch .btn { height: 56px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 28px; text-align: left; }
.pick { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--panel); transition: 0.35s var(--ease); }
.pick:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--lift); }
.pick div { min-width: 0; flex: 1; }
.pick strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick small { color: var(--ink3); font: 12px var(--mono); }

/* ── drawer, toast, themes ── */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.66); backdrop-filter: blur(5px); animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); padding: 26px; overflow-y: auto; background: var(--bg2); border-left: var(--bw) solid var(--line2); box-shadow: -40px 0 100px -20px #000; animation: slideIn 0.5s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__close { position: absolute; top: 16px; right: 16px; }
.d__head { display: flex; align-items: center; gap: 14px; margin: 4px 50px 20px 0; }
.d__head h2 { font: var(--display-w) 30px/1.1 var(--display); text-transform: var(--display-t); }
.d__big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.d__big > div { padding: 14px; border-radius: var(--r-sm); border: var(--bw) solid var(--line); background: var(--panel); }
.d__big b { font: 500 22px var(--mono); display: block; }
.d__chart { width: 100%; height: 180px; overflow: visible; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; max-width: min(560px, calc(100% - 32px)); padding: 13px 17px; border-radius: var(--r-sm); background: var(--bg2); border: var(--bw) solid var(--line2); box-shadow: var(--shadow); font-size: 14px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: 0.45s var(--ease); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.themes { position: fixed; z-index: 95; right: 20px; top: calc(var(--top) + 8px); width: 330px; padding: 14px; border-radius: var(--r); border: var(--bw) solid var(--line2); background: var(--bg2); box-shadow: var(--shadow); animation: pop 0.3s var(--ease); }
.themes h3 { font: 600 13px var(--body); margin-bottom: 10px; color: var(--ink2); }
.themes div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.themes button { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: var(--r-sm); border: var(--bw) solid var(--line); background: var(--panel); font-size: 13px; text-align: left; transition: 0.2s; }
.themes button:hover { border-color: var(--line2); transform: translateY(-1px); }
.themes button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wmenu button { justify-content: flex-start; height: 44px; font-weight: 500; }
.themes button i { flex: 0 0 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(128, 128, 128, 0.4); }

/* ── responsive ── */
@media (max-width: 1180px) { .layout, .tlayout { grid-template-columns: 1fr; } .rail, .sellbox { position: static; } .rail { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 820px) {
	:root { --side: 0px; }
	.side { width: 260px; transform: translateX(-100%); transition: transform 0.4s var(--ease); }
	.side a span { opacity: 1; transform: none; }
	.side.open { transform: none; width: 260px; box-shadow: 40px 0 80px #000; }
	.burger { display: grid; }
	.top { padding: 0 12px; gap: 8px; }
	.top .pill, .top .btn--ghost { display: none; }
	/* Nothing in the bar may refuse to shrink, or the whole page scrolls
	   sideways: the burger was being crushed to 14px while the row still
	   overflowed by 58px. Fixed items keep their size, the search absorbs the rest. */
	.burger { flex: 0 0 40px; }
	.top__brand { display: flex; }
	.searchbox { min-width: 0; flex: 1 1 0; }
	.searchbox kbd { display: none; }
	.side__wallet { display: flex; }
	.side__wallet span { opacity: 1 !important; transform: none !important; }
	.page { padding: 16px 14px 70px; }
	.slide { grid-template-columns: 1fr; padding: 26px 22px 44px; }
	.slide__fig { display: none; }
	.hero, .hero__track { min-height: 330px; }
	.hero__dots { left: 22px; }
	.stats, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tokens .hide-s { display: none; }
	.tokens th { top: var(--top); }
	.thead .price { margin-left: 0; text-align: left; width: 100%; }
	.bigchart { height: 280px; }
	.bigsearch { flex-direction: column; }
	.foot { margin-left: 0; }
	.themes { right: 10px; left: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

/* ── $OFF burn ── */
.burnhero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 24px; align-items: end; padding: 34px; border-radius: calc(var(--r) + 8px); border: var(--bw) solid var(--line2); background: radial-gradient(80% 140% at 100% 0%, rgba(255, 255, 255, 0.07), transparent 60%), var(--bg2); }
.burnhero h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.05em; margin: 6px 0 14px; font-weight: 500; }
.burnhero p { max-width: 56ch; }
.burnhero__side { display: grid; gap: 12px; }
.meter { height: 6px; border-radius: 6px; background: var(--panel2); overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--ink); transition: width 1s var(--ease); }
.fly { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.fly__n { padding: 20px; border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--panel); display: grid; gap: 6px; align-content: start; animation: rise 0.8s var(--ease) both; }
.fly__n b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); font: 600 12px var(--mono); margin-bottom: 6px; }
.fly__n strong { font-size: 16px; }
.fly__n span { font-size: 13.5px; color: var(--ink2); }
.fly__n--burn { border-color: var(--line2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), var(--panel)); }
.fly > i { align-self: center; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ink) 50%, transparent); background-size: 200% 100%; animation: flyflow 1.6s linear infinite; }
@keyframes flyflow { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.burns td:first-child, .burns th:first-child { text-align: left; }
.stat b a { display: block; }
@media (max-width: 900px) { .burnhero { grid-template-columns: 1fr; padding: 22px; } .fly { grid-template-columns: 1fr; } .fly > i { width: 2px; height: 22px; justify-self: center; background: linear-gradient(180deg, transparent, var(--ink) 50%, transparent); background-size: 100% 200%; } }

/* ── $OFF contract address, always visible in the top bar ── */
.capill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; border-radius: var(--r-sm); border: var(--bw) solid var(--line2); background: var(--panel2); cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.capill:hover { border-color: var(--ink3); background: rgba(255, 255, 255, 0.1); }
.capill:active { transform: scale(0.97); }
.capill b { font: 700 12.5px/1 var(--body); letter-spacing: 0.02em; }
.capill span { font-size: 12.5px; color: var(--ink2); }
.capill svg { width: 15px; height: 15px; fill: none; stroke: var(--ink3); stroke-width: 2; }
.capill.copied { border-color: var(--up); }
.capill.copied span { color: var(--up); }
.capill.copied svg { stroke: var(--up); }

/* ── menu button pins the sidebar open ── */
html.side-pinned { --side: 232px; }
html.side-pinned .side { width: 232px; }
html.side-pinned .side a span { opacity: 1; transform: none; }
.burger[aria-expanded="true"] { border-color: var(--line2); background: var(--panel2); color: var(--ink); }

/* ── a real, clickable fill ── */
.fillrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: var(--r-sm); }
.fillrow:hover { background: var(--panel2); }
.fillrow strong { display: block; font-size: 13.5px; font-weight: 500; }
.fillrow small { font-size: 11.5px; color: var(--ink3); }
.fillrow .r { text-align: right; }
@media (max-width: 820px) { html.side-pinned { --side: 0px; } .capill span { display: none; } }
/* On the narrowest phones the CTA drops to "List" so the search field keeps a
   usable width; the accessible name stays "List tokens". */
@media (max-width: 480px) { .top__cta span { display: none; } .top__cta { padding: 0 14px; } }

/* menu toggle lives inside the sidebar, so nothing can cover it */
.side__pin { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 12px; margin-top: 4px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink3); font: 500 14px/1 var(--body); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.side__pin:hover { background: var(--panel2); color: var(--ink); }
.side__pin svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.side__pin[aria-expanded="true"] svg { transform: rotate(180deg); }
.side__pin span { opacity: 0; transform: translateX(-6px); transition: 0.3s var(--ease); }
.side:hover .side__pin span, .side:focus-within .side__pin span, html.side-pinned .side__pin span { opacity: 1; transform: none; }
/* the top bar's hamburger is only for the mobile drawer */
.top .burger { display: none; }
@media (max-width: 820px) { .top .burger { display: grid; } .side__pin { display: none; } }

/* ── a listing shown beside its chart ── */
.tside { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--top) + 16px); }
.posbox { padding: 20px; }
.posbox__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.posbox h2 { font: 600 26px/1.1 var(--display); letter-spacing: -0.03em; margin-bottom: 14px; }
.posbox .d__chart { width: 100%; height: 150px; overflow: visible; margin-bottom: 4px; }
.posbox .rows { margin: 14px 0 16px; }
.posbox .small { font-size: 12.5px; }
.tl-selected { border-color: var(--ink) !important; }
@media (max-width: 1180px) { .tside { position: static; } }

/* ── first-visit tour ── */
.tourwrap { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; }
.tourwrap__scrim { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.72); backdrop-filter: blur(6px); animation: fade 0.3s; }
.tour { position: relative; width: min(760px, 100%); border-radius: calc(var(--r) + 6px); border: var(--bw) solid var(--line2); background: var(--bg2); box-shadow: 0 60px 140px -30px #000; overflow: hidden; animation: pop 0.45s var(--ease); }
.tour__x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.tour__art { display: grid; place-items: center; padding: 28px 28px 4px; min-height: 176px; background: radial-gradient(90% 120% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%); border-bottom: var(--bw) solid var(--line); }
.tour__art[hidden] { display: none; }
.tour__body { padding: 22px 28px 26px; }
.tour__body h2 { font: 600 clamp(20px, 2.3vw, 27px)/1.2 var(--display); letter-spacing: -0.03em; margin: 6px 0 10px; text-wrap: balance; }
.tour__body p { color: var(--ink2); font-size: 15px; max-width: 62ch; }
.tour__nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.tour__dots { display: flex; gap: 6px; margin-right: auto; }
.tour__dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: var(--line2); cursor: pointer; transition: background 0.25s, width 0.25s; }
.tour__dots button.on { width: 34px; background: var(--ink); }
.tour__svg { width: 100%; max-width: 420px; height: auto; }
.tour__flow rect { fill: var(--panel2); stroke: var(--line2); stroke-width: 1; }
.tour__flow rect.hi { fill: rgba(255, 255, 255, 0.1); stroke: var(--ink); }
.tour__flow text { fill: var(--ink); font: 600 13px var(--body); text-anchor: middle; }
.tour__flow text.s { fill: var(--ink3); font: 500 10.5px var(--mono); }
.tour__flow path { fill: none; stroke: var(--ink2); stroke-width: 1.6; color: var(--ink2); }
.tour__flow path.back { stroke: var(--ink3); stroke-dasharray: 4 4; color: var(--ink3); }
.tour__flow path.l1 { stroke: var(--s1); stroke-width: 2.2; }
.tour__flow path.l2 { stroke: var(--s2); stroke-width: 2.2; }
.tour__flow path.fl { stroke: var(--ink3); stroke-dasharray: 4 5; stroke-width: 1.2; }
.tour__flow circle.d1 { fill: var(--s1); } .tour__flow circle.d2 { fill: var(--s2); }
.tour__bars { width: 100%; max-width: 420px; display: grid; gap: 9px; }
.tour__bar { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink2); }
.tour__bar div { height: 8px; border-radius: 3px; background: var(--panel2); overflow: hidden; }
.tour__bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--ink3), var(--ink)); animation: growx 0.9s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 90ms); }
.tour__bar b { font-weight: 500; font-size: 12.5px; text-align: right; }
.tour__bar b.down { color: var(--down); min-width: 52px; }
.tour__bars p { grid-column: 1/-1; margin-top: 2px; }
.tour__steps { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.tour__steps li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink2); }
.tour__steps b { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); font: 600 12px var(--mono); color: var(--ink); }
@media (max-width: 720px) { .tour__art { min-height: 140px; padding: 20px 18px 0; } .tour__body { padding: 18px; } .tour__bar { grid-template-columns: 74px 1fr auto; } .tour__bar b.down { display: none; } }

/* ── wallet balance + % presets in the sell panel ── */
.bal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: -6px; font-size: 12.5px; color: var(--ink2); }
.bal b { font-weight: 500; color: var(--ink); }
.pcts { display: flex; gap: 5px; }
.pcts button { height: 26px; padding: 0 10px; border-radius: 8px; border: var(--bw) solid var(--line); background: var(--panel); font: 500 11.5px var(--mono); color: var(--ink2); transition: 0.2s; }
.pcts button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pcts button:disabled { opacity: 0.4; cursor: not-allowed; }
.vspool { display: grid; gap: 7px; margin: 10px 0 12px; padding-bottom: 12px; border-bottom: var(--bw) solid var(--line); }
.vspool p { font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
.vspool p b { color: var(--ink); }
.vspool p b.down { color: var(--down); }
