/* Elypaid — deal (design-taste-frontend): blue-black-cornflower · Mona Sans + Geist Mono · sharp
   Motion (choreograph + animate): one load wave on Home, 180ms crossfade between views,
   pager slides the whole grid, hover lifts 2px / images zoom 1.03, buttons step and press. */
:root {
  --bg: #0a0d14; --bg-2: #0d111b; --surface: #131824; --surface-2: #1a2131;
  --ink: #e9edf3; --muted: #8891a1; --faint: #7c869a;
  --accent: #5ab9fc; --accent-ink: #0a0d14;
  --glow: 90, 185, 252;
  --line: rgba(160, 190, 230, .10); --line-2: rgba(160, 190, 230, .2);
  --field: #080b12;
  --ok: #5ab9fc; --warn: #f2c66d; --err: #ff8a7a;
  --f: "Onest", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --wide: 118%;
  --mono: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --side: 240px; --top: 64px; --pad: 32px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--f); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.hidden, [hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { flex: none; }

/* ── shell ── */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); grid-template-rows: var(--top) 1fr; min-height: 100dvh; }
.side { grid-row: 1 / 3; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 28px; padding: 18px 14px 18px; border-right: 1px solid var(--line); background: var(--bg); z-index: 30; }
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px; height: 28px; color: var(--ink); text-decoration: none; font-weight: 700; font-stretch: 125%; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.logo svg { width: 26px; height: 26px; color: var(--accent); }
.nav { position: relative; display: grid; gap: 2px; }
.nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: var(--r-md); color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] svg { color: var(--accent); }
.nav-ind { position: absolute; left: 0; right: 0; top: 0; height: 42px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transform: translateY(var(--y, 0)); transition: transform .32s var(--ease); pointer-events: none; }
.nav-ind::before { content: ""; position: absolute; left: -14px; top: 11px; bottom: 11px; width: 2px; border-radius: 2px; background: var(--accent); }
.nav .ext::after { content: "↗"; margin-left: auto; font-size: 12px; color: var(--faint); }
.chain { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); }
.chain b { display: block; font-weight: 500; font-size: 14px; }
.chain .mono { color: var(--muted); font-size: 12px; }
.chain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chain-dot.tick { animation: blink .9s var(--ease); }
@keyframes blink { 0% { opacity: .35; transform: scale(.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ping { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.search { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--glow), .12); }
.search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 15px var(--f); outline: 0; padding: 0; height: 100%; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: 500 11px var(--mono); color: var(--faint); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; }
.top-actions { display: flex; gap: 8px; }

.main { min-width: 0; padding: 0 var(--pad) 0; position: relative; isolation: isolate; overflow: clip; }
.main::before { content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%); mask-image: linear-gradient(#000 62%, transparent 100%);
  /* planet limb: a huge dark sphere rising behind the bento, lit along its rim */
  background:
    radial-gradient(130% 120% at 50% 178%, #0b1120 0, #0b1120 98.9%, rgba(var(--glow), .75) 99.4%, rgba(var(--glow), .22) 100%, rgba(var(--glow), .06) 101.8%, transparent 105%),
    radial-gradient(70% 45% at 50% 64%, rgba(var(--glow), .10), transparent 70%); }
.main::after { content: none; }
.view { max-width: 1240px; margin: 0 auto; padding-bottom: 80px; }
.view.entering { animation: view-in .18s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 500 14px var(--f); cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none; transition: transform .16s var(--ease), box-shadow .2s, background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); box-shadow: none; transition-duration: .08s; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(var(--glow), .06); border-color: var(--accent); box-shadow: none; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; height: 50px; font-size: 15px; margin-top: 20px; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow, .tile:hover .arrow { transform: translateX(3px); }

/* ── hero ── */
.hero { text-align: center; padding: 96px 0 64px; max-width: 860px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--accent); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(var(--glow), .04); margin-bottom: 28px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 2.4s var(--ease) 4; }
h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; font-weight: 600; font-stretch: var(--wide); letter-spacing: -.018em; margin: 0 0 22px; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 34em; margin: 0 auto 32px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* load wave: lead travels farthest, gaps shrink down the group (choreograph) */
.fx { animation: rise .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.fx.lead-in { animation-duration: .56s; --dist: 14px; }
.eyebrow.fx { animation-name: fade; }
.fx[style*="--i:0"] { --d: 0; } .fx[style*="--i:1"] { --d: 90; --dist: 8px; } .fx[style*="--i:2"] { --d: 150; --dist: 6px; }
.fx[style*="--i:3"] { --d: 230; } .fx[style*="--i:4"] { --d: 290; } .fx[style*="--i:5"] { --d: 340; } .fx[style*="--i:6"] { --d: 380; } .fx[style*="--i:7"] { --d: 410; }
@keyframes rise { from { opacity: 0; transform: translateY(var(--dist, 10px)); } }
@keyframes fade { from { opacity: 0; } }
.played .fx { animation: none; }

/* ── bento ── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(19, 24, 36, .72), rgba(13, 17, 27, .86)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
a.tile:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.tile-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; margin-top: auto; font-size: 14px; color: var(--muted); }
.tile-foot span:first-child { color: var(--ink); font-weight: 500; }
.tile-foot .open { font-size: 13px; }
.tile-explore { grid-column: span 4; height: 300px; }
.tile-route { grid-column: span 2; height: 300px; }
.tile-stat { grid-column: span 2; padding: 18px; }
.tile-tiers { grid-column: span 2; padding: 18px; }
.tile-ledger { grid-column: span 2; padding: 18px 0 0; }
.tile-ledger .stat-h { padding: 0 18px; }

.mosaic { position: absolute; inset: 0 0 48px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; padding: 12px; }
.mosaic .m { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--field); border: 1px solid var(--line); }
.mosaic .m img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile-explore:hover .m img { transform: scale(1.03); }
.mosaic .m .cap { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; gap: 6px; padding: 4px 7px; border-radius: 6px; background: rgba(6, 9, 16, .78); backdrop-filter: blur(6px); font: 500 11px var(--mono); white-space: nowrap; overflow: hidden; }
.mosaic .m .cap span:last-child { color: var(--accent); }
.mosaic .m:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }

.route { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 18px 18px 0; }
.node { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--field); }
.node b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.node small { color: var(--muted); font-size: 11px; }
.node.hl { border-color: rgba(var(--glow), .4); background: rgba(var(--glow), .06); }
.ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-2); flex: none; }
.ico.x { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 14px; }
.wire { position: relative; height: 22px; margin-left: 25px; width: 2px; background: var(--line-2); overflow: hidden; }
.wire i { position: absolute; left: 0; top: -8px; width: 2px; height: 8px; border-radius: 2px; background: var(--accent);  opacity: 0; }
.route.run .wire i { animation: pulse 1.1s var(--ease-io) 3; }
.route.run .wire:nth-of-type(4) i { animation-delay: .45s; }
@keyframes pulse { 0% { top: -8px; opacity: 1; } 100% { top: 22px; opacity: 1; } }

.stat-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.stat-h .mono { font-size: 11px; color: var(--faint); }
.stat-n { font: 600 clamp(32px, 3.2vw, 44px)/1.05 var(--f); font-stretch: var(--wide); letter-spacing: -.03em; margin: 14px 0 18px; font-variant-numeric: tabular-nums; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat-row .mono { display: block; font-size: 14px; color: var(--ink); }
.stat-row small { color: var(--muted); font-size: 11px; }

.tiers { display: grid; gap: 8px; margin-top: 16px; }
.tier { display: grid; grid-template-columns: 38px 1fr 44px; gap: 10px; align-items: center; font: 500 12px var(--mono); }
.tier .track { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--field); gap: 2px; }
.tier .track b { display: block; height: 100%; transform-origin: left; animation: grow .7s var(--ease) both; animation-delay: calc(var(--k) * 50ms + 400ms); }
.tier .cr { background: var(--accent); } .tier .pr { background: #8fb3d9; } .tier .lp { background: #2b3f5c; }
.tier span:last-child { text-align: right; color: var(--muted); }
@keyframes grow { from { transform: scaleX(0); } }
.tiers-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-size: 11px; color: var(--muted); }
.tiers-legend b { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.k-cr { background: var(--accent); } .k-pr { background: #8fb3d9; } .k-lp { background: #2b3f5c; }

.mini-list { list-style: none; margin: 12px 0 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.mini-list li b { font-weight: 500; }
.mini-list li span { color: var(--muted); font: 400 12px var(--mono); }
.mini-list .empty-li { color: var(--muted); font-size: 13px; display: block; }

/* ── sections ── */
.split-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 56px; }
.sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; min-height: 40px; flex-wrap: wrap; }
h2 { font-size: 24px; font-weight: 600; font-stretch: var(--wide); letter-spacing: -.012em; margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 13px var(--f); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s, transform .12s var(--ease); }
.chips button:hover { color: var(--ink); }
.chips button:active { transform: scale(.96); }
.chips button[aria-pressed="true"] { background: rgba(var(--glow), .1); border-color: rgba(var(--glow), .45); color: var(--accent); }
.pager { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.pg { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; transition: background-color .2s, transform .12s var(--ease), opacity .2s; }
.pg:hover { background: var(--surface); }
.pg:active { transform: scale(.92); }
.pg:disabled { opacity: .3; cursor: default; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; margin-left: auto; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.grid-tokens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-tokens.wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-tokens.slide-next { animation: slide-next .22s var(--ease) both; }
.grid-tokens.slide-prev { animation: slide-prev .22s var(--ease) both; }
@keyframes slide-next { from { opacity: 0; transform: translateX(16px); } }
@keyframes slide-prev { from { opacity: 0; transform: translateX(-16px); } }
.tok { display: flex; flex-direction: column; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.tok:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .9); }
.tok .img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--field); }
.tok .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tok:hover .img img { transform: scale(1.03); }
.tok .age { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(6, 9, 16, .78); backdrop-filter: blur(6px); font: 500 11px var(--mono); color: var(--ink); }
.tok .route-b { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); padding: 4px 9px 4px 6px; border-radius: 999px; background: rgba(6, 9, 16, .82); backdrop-filter: blur(6px); font: 500 11px var(--mono); white-space: nowrap; overflow: hidden; }
.tok .route-b i { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-style: normal; font-size: 9px; }
.tok .route-b.h i { background: var(--accent); color: var(--accent-ink); }
.tok .grad { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(6, 9, 16, .78); display: grid; place-items: center; color: var(--accent); font-size: 11px; }
.tok .meta { padding: 10px 6px 4px; }
.tok .nm { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tok .nm b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tok .nm span { font: 400 11px var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tok .num { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; gap: 6px; }
.tok .num b { font: 600 17px var(--f); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.tok .num b small { font: 400 11px var(--mono); color: var(--faint); margin-left: 3px; }
.tok .num .chg { font: 500 12px var(--mono); }
.chg.up { color: var(--accent); } .chg.down { color: var(--err); } .chg.flat { color: var(--faint); }
.tok.sk .img, .sk-line { background: linear-gradient(90deg, var(--field), var(--surface-2), var(--field)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-line { height: 12px; border-radius: 4px; margin: 10px 6px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.rows li a:hover { border-color: var(--line-2); background: var(--surface-2); }
.rows img, .rows .ph { width: 40px; height: 40px; border-radius: var(--r-md); object-fit: cover; background: var(--field); }
.rows .t b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .t span { font: 400 12px var(--mono); color: var(--muted); }
.rows .r { text-align: right; font: 500 14px var(--f); font-variant-numeric: tabular-nums; }
.rows .r small { display: block; font: 400 11px var(--mono); color: var(--faint); }
.rows li.new a { animation: row-in .4s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }

.page-h { padding: 48px 0 28px; }
.page-h h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.02em; }
.page-h p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ── forms (launch / manage) ── */
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card + .card { margin-top: 14px; }
.card-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.card h3 { font-size: 17px; font-weight: 600; font-stretch: 110%; letter-spacing: -.015em; margin: 0; }
.sub { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
label { display: block; font: 500 12px var(--mono); color: var(--muted); margin: 18px 0 8px; }
input, textarea, select { width: 100%; background: var(--field); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-md); padding: 11px 12px; font: 400 16px var(--f); transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, textarea:hover, select:hover { border-color: var(--line-2); }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--glow), .12); }
.file-btn { position: relative; width: fit-content; margin: 0; font: 500 13px var(--f); color: var(--ink); }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
textarea { min-height: 84px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.seg.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg button { border: 1px solid var(--line); background: var(--field); color: var(--ink); border-radius: var(--r-md); padding: 11px 6px; font: 500 14px var(--f); cursor: pointer; text-align: center; transition: border-color .2s, background-color .2s, transform .14s var(--ease); }
.seg button small { display: block; font: 400 11px var(--mono); color: var(--muted); margin-top: 2px; }
.seg button:hover { border-color: var(--line-2); }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--glow), .08); box-shadow: inset 0 0 0 1px var(--accent); }
.seg button[aria-pressed="true"] small { color: var(--accent); }
.split-row { display: grid; grid-template-columns: 1fr 92px auto; gap: 8px; margin-top: 8px; align-items: center; }
.split-row .holders-tag { padding: 11px 12px; border-radius: var(--r-md); border: 1px dashed rgba(var(--glow), .45); color: var(--accent); font: 500 13px var(--mono); }
.btn-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.note:empty { display: none; }
.note.warn { color: var(--warn); } .note.err { color: var(--err); } .note.ok { color: var(--ok); }
.handle-field { position: relative; }
.handle-field::before { content: "@"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font: 500 16px var(--mono); color: var(--accent); pointer-events: none; }
.handle-field input { padding-left: 32px; font-family: var(--mono); }
.preview { display: flex; gap: 14px; align-items: flex-start; }
.preview img, .preview .ph { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; background: var(--field); border: 1px dashed var(--line-2); flex: none; }
.preview > div { flex: 1; min-width: 0; display: grid; gap: 6px; }
.bar { height: 6px; border-radius: 99px; overflow: hidden; display: flex; gap: 2px; background: var(--field); margin: 18px 0 8px; }
.bar div { height: 100%; transition: width .3s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12px var(--mono); color: var(--muted); }
.legend b { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
details summary { cursor: pointer; color: var(--muted); font: 500 12px var(--mono); margin-top: 18px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+ "; color: var(--accent); }
details[open] summary::before { content: "− "; }
.recap { position: sticky; top: calc(var(--top) + 20px); }
.recap h3 { margin-bottom: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv span:first-child { color: var(--muted); flex: none; }
.kv span:last-child { text-align: right; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; }
#log { white-space: pre-wrap; overflow-wrap: anywhere; }
.manage-search { display: flex; gap: 8px; }
.manage-search input { font-family: var(--mono); }
.tok-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.tok-head img { width: 48px; height: 48px; border-radius: var(--r-md); object-fit: cover; background: var(--field); }
.tok-head h3 { font-size: 20px; }
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; align-items: start; }
.manage-grid > .card + .card { margin-top: 0; }

.ledger { margin-top: 16px; display: grid; gap: 8px; }
.ledger .lg { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--field); }
.ledger .lg b { font-weight: 500; }
.ledger .lg .h { font: 500 13px var(--mono); color: var(--accent); }
.ledger .lg .s { font: 500 13px var(--mono); }
.ledger .lg small { display: block; color: var(--muted); font: 400 12px var(--mono); }

/* ── footer ── */
.foot { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-brand { display: grid; gap: 8px; max-width: 46ch; }
.foot-brand b { color: var(--ink); font-weight: 500; font-size: 15px; }
.foot h4 { margin: 0 0 12px; font: 500 12px var(--mono); color: var(--ink); }
.foot div > a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; width: fit-content; transition: color .2s, background-size .25s var(--ease); }
.foot div > a:hover { color: var(--ink); background-size: 100% 1px; }

.tabbar { display: none; }

/* ── responsive ── */
@media (max-width: 1180px) {
  .tile-explore { grid-column: span 6; }
  .tile-route, .tile-stat, .tile-tiers { grid-column: span 3; }
  .tile-ledger { grid-column: span 3; }
  .split-2 { grid-template-columns: 1fr; }
  .grid-tokens { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --side: 76px; }
  .side { padding-inline: 12px; }
  .logo span, .nav a span, .chain div, .nav .ext::after { display: none; }
  .logo { justify-content: center; padding: 4px 0; }
  .nav a { justify-content: center; padding: 0; }
  .nav-ind::before { left: -12px; }
  .chain { justify-content: center; padding: 12px 0; border: 0; background: none; }
  .grid { grid-template-columns: 1fr; }
  .recap { position: static; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --top: 60px; }
  .shell { grid-template-columns: 1fr; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .side { display: none; }
  .top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .search kbd { display: none; }
  .top-actions .btn:not(#connect) { display: none; }
  #connect { height: 36px; padding: 0 12px; font-size: 13px; }
  .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero { padding: 44px 0 36px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1; }
  .bento { grid-template-columns: 1fr; }
  .tile-explore, .tile-route, .tile-stat, .tile-tiers, .tile-ledger { grid-column: auto; }
  .tile-explore { height: 240px; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic .m:nth-child(1) { grid-column: auto; grid-row: auto; }
  .mosaic .m:nth-child(n+7) { display: none; }
  .grid-tokens, .grid-tokens.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sec-h .pager { margin-left: 0; }
  .card { padding: 18px; }
  .row, .manage-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-row { grid-template-columns: 1fr 76px auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; color: var(--muted); text-decoration: none; font: 500 11px var(--f); -webkit-user-select: none; user-select: none; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="page"] { color: var(--accent); }
  .tabbar .tab-main svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.2; }
  .tabbar .tab-main[aria-current="page"] { color: var(--accent); }
}
@media (hover: none) {
  .btn:hover, a.tile:hover, .tok:hover { transform: none; box-shadow: none; }
  .tok:hover .img img, .tile-explore:hover .m img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ═════════════ Motion layer (motion.js) ═════════════
   Scroll reveals use an animation with fill "backwards" only, so once they finish
   the element's own hover transforms work again. */
.motion .rv:not(.in) { opacity: 0; }
.motion .rv.in { animation: rv-up .7s var(--ease) var(--rv-delay, 0ms) backwards; }
.motion .rv[data-rv="lg"].in { animation-duration: .8s; --rv-y: 28px; }
.motion .rv[data-rv="md"].in { --rv-y: 20px; }
.motion .rv[data-rv="sm"].in { --rv-y: 14px; animation-duration: .6s; }
.motion .rv[data-rv="xs"].in { --rv-y: 6px; animation-duration: .45s; }
.motion .rv:not([data-rv]).in { animation-name: fade; }
.motion .tok.rv.in { animation-name: rv-card; }
@keyframes rv-up { from { opacity: 0; transform: translate3d(0, var(--rv-y, 18px), 0); } }
@keyframes rv-card { from { opacity: 0; transform: translate3d(0, var(--rv-y, 14px), 0) scale(.97); filter: blur(4px); } }

/* parallax: planet rim drifts slower than the page, stars slower still */
.main::before { transform: translate3d(0, calc(var(--sy, 0) * .32px), 0); will-change: transform; }
.hero { position: relative; z-index: 1; will-change: transform, opacity; }

/* interactive star field: fixed canvas behind the whole app (motion.js) */
.starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: block; }
.shell { position: relative; z-index: 1; }
#view-home { position: relative; }

/* cursor spotlight */
.tok, .card, .rows li a { position: relative; }
.card.recap { position: sticky; } /* keep the summary sticky; it is its own positioning context */
.tok::after, .tile::after, .card::after, .rows li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), .10), transparent 60%); }
.tok:hover::after, .tile:hover::after, .rows li a:hover::after { opacity: 1; }
.card:hover::after { opacity: .55; }
.tok:hover, a.tile:hover { border-color: rgba(var(--glow), .35); }

/* scroll progress + topbar elevation */
.scroll-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); transform-origin: left; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--glow), .15), var(--accent)); }
.top { transition: box-shadow .3s, background-color .3s; }
.scrolled .top { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); background: color-mix(in srgb, var(--bg) 92%, transparent); }

/* count-up and bars wait for the viewport */
.motion .tiers:not(.in) .track b { transform: scaleX(0); }
.motion .tiers:not(.in) .track b, .motion .tiers .track b { animation: none; }
.motion .tiers.in .track b { animation: grow .8s var(--ease) both; animation-delay: calc(var(--k) * 70ms); }

/* nav micro-motion */
.nav a svg { transition: transform .25s var(--ease), color .2s; }
.nav a:hover svg { transform: translateX(2px); }
.nav a:active svg { transform: scale(.9); }
.chips button, .pg { will-change: transform; }

/* launch button shines once it's ready */
.btn.block { position: relative; overflow: hidden; }
.btn.ready::before { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg);
  animation: shine 3.4s var(--ease-io) .6s infinite; }
@keyframes shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }

/* fee route bar fills smoothly, legend chips pop */
.legend span { animation: fade .3s var(--ease) both; }

/* pager arrows nudge */
.pg:hover:not(:disabled) { transform: scale(1.08); }
#topNext:hover:not(:disabled), #exNext:hover:not(:disabled) { transform: translateX(2px) scale(1.08); }
#topPrev:hover:not(:disabled), #exPrev:hover:not(:disabled) { transform: translateX(-2px) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .main::before, .main::after, .hero { transform: none !important; opacity: 1 !important; }
}

/* ── empty states (only Elypaid launches are listed) ── */
.grid-tokens.is-empty { grid-template-columns: 1fr; }
.empty-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  background: radial-gradient(60% 80% at 50% 0%, rgba(var(--glow), .07), transparent 70%), var(--bg-2); }
.empty-state svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .9; margin-bottom: 6px; }
.empty-state svg circle:nth-child(3), .empty-state svg circle:nth-child(4) { fill: var(--accent); stroke: none; }
.empty-state b { font-size: 18px; font-weight: 600; font-stretch: 110%; }
.empty-state span { color: var(--muted); max-width: 42ch; }
.empty-state .btn { margin-top: 10px; }
.mosaic .m-empty span { font: 600 15px/1.2 var(--f); font-stretch: 115%; color: var(--muted); text-align: center; }
.rows .rows-empty { padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); font-size: 14px; }

/* ══════════════════════ v2 · visual pass (impeccable) ══════════════════════
   One world: night sky, the logo's two orbits, ice blue. Mono is for data only
   (handles, amounts, addresses); every label and control speaks in Mona Sans. */

/* browser surfaces carry the design too */
html { scrollbar-color: #26314a var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222c42; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2f3d5c; }
input, textarea { caret-color: var(--accent); }
a { text-decoration-thickness: 1px; }

/* icons: one stroke family */
svg.i, .pg svg, .stop-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.ix { width: 12px; height: 12px; fill: currentColor; flex: none; }
.btn svg.i { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg.i { transform: translateX(3px); }

/* labels and small UI text: sans, not mono */
label { font: 500 13px/1.3 var(--f); color: var(--muted); letter-spacing: 0; }
.seg button small, .stat-h .mono, .legend, details summary { font-family: var(--f); }
details summary { font-size: 13px; }

/* buttons: solid ice with a lit top edge; depth from an offset shadow */
.btn { height: 42px; padding: 0 18px; font-weight: 600; font-stretch: 105%;
  background: linear-gradient(180deg, #7cc8ff, var(--accent)); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 20px -12px rgba(0, 0, 0, .9); }
.btn.ghost { background: rgba(233, 237, 243, .02); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: rgba(233, 237, 243, .05); border-color: rgba(233, 237, 243, .3); }
.btn.lg { height: 56px; padding: 0 26px; font-size: 16px; border-radius: 999px; }

/* ── hero: the sentence is the product ── */
#view-home { isolation: isolate; }
.hero-orbits { position: absolute; z-index: -1; pointer-events: none; width: min(1100px, 92vw); aspect-ratio: 1; top: -180px; right: -18%; opacity: .9; }
.hero-orbits ellipse { fill: none; stroke: url(#orb); stroke-width: 1.4; }
.hero-orbits g { transform-origin: 500px 500px; }
.motion .hero-orbits .orb-a { animation: orbit 120s linear infinite; }
.motion .hero-orbits .orb-b { animation: orbit 160s linear infinite reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }

.hero { text-align: left; max-width: 1240px; margin: 0; padding: clamp(72px, 12vh, 140px) 0 clamp(64px, 10vh, 120px); }
h1 { font-size: clamp(46px, 7.2vw, 104px); line-height: .95; font-weight: 700; font-stretch: 125%; letter-spacing: -.035em; max-width: 12ch; margin: 0 0 clamp(36px, 5vw, 56px); text-wrap: balance; }
.lead { margin: 28px 0 0; max-width: 46ch; font-size: 17px; color: #a3acbb; }

.composer { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.composer label { font: 600 clamp(22px, 2.6vw, 34px)/1 var(--f); font-stretch: 118%; color: var(--muted); letter-spacing: -.02em; margin: 0; }
.composer-field { position: relative; display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 4px 10px; border-bottom: 2px solid rgba(var(--glow), .45); transition: border-color .25s; }
.composer-field:focus-within { border-color: var(--accent); }
.composer-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.composer-field:focus-within::after { transform: scaleX(1); }
.composer .at { font: 600 clamp(28px, 3.4vw, 46px)/1 var(--mono); color: var(--accent); }
#heroHandle { width: 9.5ch; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0;
  font: 600 clamp(28px, 3.4vw, 46px)/1.1 var(--mono); color: var(--ink); letter-spacing: -.02em; }
#heroHandle::placeholder { color: #3b4659; }
#heroHandle:focus { box-shadow: none; }

/* ── where a fee goes ── */
.trip, .calc, .board { padding: clamp(56px, 8vw, 96px) 0; }
.trip h2, .calc h2, .board h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 700; font-stretch: 122%; letter-spacing: -.025em; }
.trip-track { position: relative; margin-top: 36px; }
.trip-line { display: block; width: 100%; height: 120px; overflow: visible; }
.trip-line path { fill: none; stroke: rgba(var(--glow), .35); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trip-dot { fill: #e9f5ff; filter: drop-shadow(0 0 6px rgba(var(--glow), 1)) drop-shadow(0 0 16px rgba(var(--glow), .8)); }
.trip-stops { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trip-stops li { display: grid; gap: 8px; align-content: start; }
.trip-stops li:nth-child(2) { text-align: center; justify-items: center; }
.trip-stops li:nth-child(3) { text-align: right; justify-items: end; }
.trip-stops b { font-size: 19px; font-weight: 600; font-stretch: 110%; letter-spacing: -.01em; }
.trip-stops span:last-child { color: var(--muted); max-width: 30ch; font-size: 15px; }
.stop-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(circle at 35% 30%, #1d2740, #0d121d); border: 1px solid rgba(var(--glow), .3); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .9); }
.stop-ico.x { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stop-ico.x svg { fill: currentColor; stroke: none; width: 17px; height: 17px; }

/* ── calculator ── */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.calc-copy p { color: var(--muted); max-width: 52ch; margin: 18px 0 28px; }
#calcHandle { color: var(--accent); font-family: var(--mono); font-weight: 600; font-stretch: 100%; letter-spacing: -.03em; }
.seg-row { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); }
.seg-row button { height: 36px; min-width: 56px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px var(--mono); cursor: pointer; transition: color .2s, background-color .2s; }
.seg-row button:hover { color: var(--ink); }
.seg-row button[aria-checked="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--glow), .4), 0 4px 10px -4px rgba(0, 0, 0, .8); }
.calc-vol { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 0 12px; font-size: 14px; }
.calc-vol output { font: 600 18px var(--mono); color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #24324d); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: #24324d; }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #eaf6ff; border: 4px solid var(--accent); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); transition: box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #eaf6ff; border: 4px solid var(--accent); }
input[type="range"]:focus { box-shadow: none; }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.calc-out { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--glow), .16), transparent 60%), linear-gradient(180deg, #121a2a, #0c111c);
  border: 1px solid rgba(var(--glow), .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.calc-out::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(var(--glow), .18); }
.calc-out::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(var(--glow), .12); }
.calc-big { display: block; font: 700 clamp(52px, 6.4vw, 92px)/.95 var(--mono); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-unit { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; }
.calc-out dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--muted); font-size: 13px; }
.calc-out dd { margin: 4px 0 0; font: 600 16px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── launched on Elypaid ── */
.board .sec-h { margin-bottom: 24px; }
.board-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.grid-tokens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.side-lists { display: grid; gap: 36px; }
.list-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.list-h h3 { margin: 0; font-size: 16px; font-weight: 600; font-stretch: 110%; }
.list-h .more { color: var(--muted); font-size: 13px; text-decoration: none; }
.list-h .more:hover { color: var(--ink); }
.owed { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.owed li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.owed li .ix { color: var(--ink); }
.owed li span { margin-left: auto; color: var(--muted); font-size: 13px; }
.owed .owed-empty { color: var(--muted); border: 0; padding: 0; line-height: 1.5; }
.rows .rows-empty { border-style: solid; border-color: var(--line); background: none; padding: 14px 0; border-width: 0 0 1px; border-radius: 0; }

/* token cards: flatter, the image leads */
.tok { padding: 0; border-radius: 16px; overflow: hidden; background: #0f1420; border-color: var(--line); }
.tok .img { border-radius: 0; }
.tok .meta { padding: 12px 14px 14px; }
.tok .nm b { font-stretch: 108%; }
.tok .num b { font-size: 16px; }
.tok .route-b { gap: 6px; padding: 5px 10px 5px 8px; background: rgba(233, 237, 243, .92); color: #0a0d14; font-weight: 600; }
.tok .route-b .ix { color: #0a0d14; }
.tok .grad { color: var(--accent); }
.tok .grad svg { width: 13px; height: 13px; }
.tok .noimg { position: absolute; inset: 0; display: grid; place-items: center; font: 700 42px var(--f); font-stretch: 125%; color: #2a3550; }
.rows li a { border-radius: 12px; background: none; border-color: transparent; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }
.rows li a:hover { background: none; border-color: transparent; border-bottom-color: var(--line-2); }
.rows .r small { color: var(--accent); }

/* empty state: a quiet orbit, not a dashed box */
.empty-state { border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(70% 90% at 50% 0%, rgba(var(--glow), .08), transparent 70%), #0d121c; padding: 64px 24px; }
.empty-state b { font-size: 22px; font-weight: 700; font-stretch: 120%; letter-spacing: -.015em; }

/* forms and cards across the app: less box, more surface */
.card { border-radius: 18px; background: linear-gradient(180deg, #121827, #0f1421); }
.card h3 { font-size: 18px; font-weight: 700; font-stretch: 115%; letter-spacing: -.015em; }
input, textarea, select { border-radius: 12px; background: #0a0e17; }
.page-h { padding: clamp(48px, 7vw, 88px) 0 32px; }
.page-h h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; }
.page-h p { font-size: 17px; margin-top: 14px; }
.seg button { border-radius: 12px; }
.chips button { font-weight: 600; }
.pg { display: grid; place-items: center; color: var(--ink); }
.pg svg { width: 16px; height: 16px; }

@media (max-width: 1180px) {
  .board-body { grid-template-columns: 1fr; }
  .side-lists { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding: 48px 0 40px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-orbits { width: 160vw; right: -70%; top: -120px; }
  .composer { gap: 10px; }
  .composer .btn.lg { width: 100%; }
  .composer-field { flex: 1; }
  #heroHandle { width: 100%; }
  .trip-line { height: 80px; }
  .trip-stops { grid-template-columns: 1fr; gap: 22px; }
  .trip-stops li, .trip-stops li:nth-child(2), .trip-stops li:nth-child(3) { text-align: left; justify-items: start; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .trip-stops li .stop-ico { grid-row: span 2; }
  .grid-tokens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-lists { grid-template-columns: 1fr; }
  .calc-out dl { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .trip-dot { display: none; } }

/* the planet rises below the taller hero on wide screens */
@media (min-width: 761px) { .main::before { height: 1220px; } }
.btn #calcGoTier { margin-left: 0; }

/* ── type system: Unbounded for display, Onest for UI, Martian Mono for data ── */
h1, h2, h3, .logo, .composer label, .trip-stops b, .empty-state b, .tok .noimg, .page-h h2 { font-family: var(--display); font-stretch: normal; }
h1 { font-size: clamp(40px, 6.2vw, 88px); font-weight: 600; letter-spacing: -.04em; line-height: 1; max-width: 13ch; }
.trip h2, .calc h2, .board h2, .page-h h2 { font-weight: 600; letter-spacing: -.035em; }
.trip h2, .calc h2, .board h2 { font-size: clamp(26px, 3vw, 40px); }
.page-h h2 { font-size: clamp(32px, 4vw, 56px); }
h3, .card h3, .list-h h3 { font-weight: 600; letter-spacing: -.02em; font-stretch: normal; }
.card h3 { font-size: 16px; }
.logo { font-weight: 600; font-size: 16px; letter-spacing: -.03em; }
.composer label { font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.03em; }
.trip-stops b { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.empty-state b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.btn, .chips button, .seg button, .tabs button, .nav a { font-stretch: normal; }
.btn { font-weight: 600; letter-spacing: -.005em; }
#calcHandle { font-family: var(--mono); letter-spacing: -.04em; }
.calc-big { letter-spacing: -.06em; }
#heroHandle, .composer .at { letter-spacing: -.04em; }
#heroHandle::placeholder { color: #5b6880; }

/* ── depth from real shadows; light only where something is a light ── */
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 20px -12px rgba(0, 0, 0, .9); }
.btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 26px -12px rgba(0, 0, 0, .95); }
.composer-field::after { box-shadow: none; }
.scroll-prog { box-shadow: none; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(var(--glow), .14); }
input[type="range"]::-webkit-slider-thumb { box-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 6px 14px rgba(0, 0, 0, .7); }
.seg-row button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(var(--glow), .4), 0 4px 10px -4px rgba(0, 0, 0, .8); }
.tok:hover, a.tile:hover { box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .95); }

/* ── spacing: sections separate by space, not rules ── */
.chain { padding: 12px 14px; }

/* the planet fades as the page scrolls past the hero, so its rim never runs behind text */
.main::before { opacity: max(0, calc(1 - var(--sy, 0) / 520)); }

/* ══════════════════════ orbital layer: telemetry, satellites, HUD ══════════════════════ */
@property --sweep { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* satellites riding the logo's orbits */
.hero-orbits .orb-path { fill: none; stroke: url(#orb); stroke-width: 1.4; }
.hero-orbits .sat { fill: #eaf6ff; filter: drop-shadow(0 0 4px #9fd8ff) drop-shadow(0 0 10px rgba(90, 185, 252, .8)); }

/* live telemetry: real chain data, read like an instrument */
.telemetry { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: fit-content; max-width: 100%; }
.telemetry div { padding: 12px 22px 12px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.telemetry div:last-child { border-right: 0; margin-right: 0; }
.telemetry dt { font: 500 11px/1 var(--f); color: var(--faint); text-transform: uppercase; letter-spacing: .14em; }
.telemetry dd { margin: 7px 0 0; font: 500 14px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
#telBlock { color: var(--accent); min-width: 10ch; display: inline-block; }

/* corner brackets: a targeting frame drawn with eight hairlines, on its own layer */
.hud { position: relative; }
.hud > .hud-corners { position: absolute; inset: var(--ci, 0); pointer-events: none; z-index: 3; --c: rgba(var(--glow), .7); --l: 12px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--l);
  background-repeat: no-repeat; }
.composer-field.hud { padding: 10px 14px 12px; border-bottom-color: transparent; }
.composer-field.hud > .hud-corners { --l: 10px; }
.composer-field.hud::after { left: 14px; right: 14px; bottom: 0; }
.calc-out.hud > .hud-corners { --ci: 14px; --l: 16px; }

/* the calculator panel: a light sweeps its border, a graduated dial turns behind the number */
.calc-out::before, .calc-out::after { content: none; }
.calc-out { isolation: isolate; }
.calc-out > :not(.dial):not(.hud-corners) { position: relative; z-index: 1; }
.calc-out::before { content: ""; position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--sweep), transparent 0deg 250deg, rgba(var(--glow), .0) 270deg, rgba(166, 220, 255, .95) 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: sweep 7s linear infinite; }
@keyframes sweep { to { --sweep: 360deg; } }
.dial { position: absolute; z-index: 0; right: -70px; top: -70px; width: 320px; height: 320px; pointer-events: none; opacity: .9; }
.dial circle { fill: none; }
.dial-ticks { stroke: rgba(var(--glow), .35); stroke-width: 6; stroke-dasharray: 1 7.03; }
.dial-ticks.fine { stroke: rgba(var(--glow), .22); stroke-width: 3; stroke-dasharray: 1 3.02; }
.dial-ring { stroke: rgba(var(--glow), .18); stroke-width: 1; }
.dial-sat circle { fill: #eaf6ff; stroke: none; filter: drop-shadow(0 0 5px #9fd8ff); }
.dial-ticks, .dial-sat { transform-origin: 100px 100px; }
.motion .dial-ticks:not(.fine) { animation: orbit 90s linear infinite; }
.motion .dial-ticks.fine { animation: orbit 60s linear infinite reverse; }
.motion .dial-sat { animation: orbit 14s linear infinite; }
.calc-big { min-width: 5ch; }

/* decoded title lines keep their width while glyphs cycle */
.hero h1 .dl { white-space: pre-wrap; }

@media (max-width: 760px) {
  .telemetry div { padding-right: 14px; margin-right: 14px; }
  .telemetry div:nth-child(3), .telemetry div:nth-child(4) { display: none; }
  .telemetry div { padding-right: 12px; margin-right: 12px; }
  .dial { width: 240px; height: 240px; right: -60px; top: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  .calc-out::before { animation: none; opacity: 0; }
  .hero-orbits .sat { display: none; }
}

/* ══════════════════════ v3 · calm product-first look ══════════════════════
   Near-black, white primary actions, ice blue only as an accent. Instrument Sans
   at moderate sizes and medium weight; IBM Plex Mono for data. The first screen
   shows the product working, not a slogan alone. */
:root {
  --bg: #07090d; --bg-2: #0b0e14; --surface: #0f131a; --surface-2: #151a23;
  --ink: #f2f4f8; --muted: #8d95a5; --faint: #7a8396;
  --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
  --field: #0b0e14;
  --f: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Host Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
body { font-size: 14px; line-height: 1.5; letter-spacing: -.003em; }
.side { background: var(--bg); }
.top { background: color-mix(in srgb, var(--bg) 86%, transparent); }

/* type: one family, real steps, medium weights */
h1, h2, h3, .logo, .page-h h2, .empty-state b, .trip-stops b, .tok .noimg { font-family: var(--display); font-stretch: 100%; }
.logo { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
h2, .board h2 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.page-h h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.page-h p { font-size: 15px; }
.card h3, .list-h h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
label { font: 500 13px/1.3 var(--f); }
.nav a { font-size: 14px; }

/* buttons: white primary pill, quiet ghost pill */
.btn { border-radius: 999px; height: 40px; padding: 0 18px; font: 600 14px var(--f); letter-spacing: -.01em; }
.btn-white { background: #f4f6fa; color: #08090c; border: 1px solid #f4f6fa; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 8px 18px -10px rgba(0, 0, 0, .9); }
.btn-white:hover { background: #ffffff; border-color: #fff; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .95); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .26); }
.top-actions .btn { height: 36px; padding: 0 16px; font-size: 13px; }
.top-actions .btn:not(.ghost) { background: #f4f6fa; color: #08090c; border-color: #f4f6fa; box-shadow: none; }

/* ── hero: centered, calm, moderate ── */
.hero { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(64px, 10vh, 112px) 0 clamp(44px, 6vh, 64px); }
.hero h1 { font-size: clamp(38px, 4.8vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; max-width: 16ch; margin: 0 auto 20px; }
.hero .lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 50ch; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; }
.hero-actions .btn { height: 44px; padding: 0 22px; }

/* ── bento of live product tiles ── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 1180px; margin: 0 auto; scroll-margin-top: 90px; }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; height: 290px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #0f131b, #0b0e14); -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink); text-decoration: none; box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .9); }
a.tile:hover, form.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.t-x, .t-route { grid-column: span 3; }
.t-earn, .t-blocks, .t-code { grid-column: span 2; }
.tile-body { flex: 1; min-height: 0; padding: 18px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.tile-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 16px; margin-top: auto; font-size: 14px; color: var(--muted); }
.tile-foot > span:first-child { color: var(--ink); font-weight: 500; }
.tile-foot .open { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.tile-foot .open svg.i { width: 14px; height: 14px; }
.tile-kicker { font: 500 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }

/* tile 1: X handle with live avatar */
.t-x .tile-body { justify-content: flex-start; }
.xfield { display: flex; align-items: center; gap: 10px; height: 48px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); background: #090c12; color: var(--muted); transition: border-color .2s, box-shadow .2s; cursor: text; }
.xfield:focus-within { border-color: #f4f6fa; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.xfield svg.i { width: 18px; height: 18px; }
#heroHandle { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; font: 500 16px var(--mono); color: var(--ink); letter-spacing: -.01em; }
#heroHandle::placeholder { color: #7a8396; }
#heroHandle:focus { box-shadow: none; }
.xcard { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #121722; border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.xcard.on { border-color: rgba(var(--glow), .35); background: #121b2b; }
.xav { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #1d2433; color: var(--ink); font: 600 14px var(--f); }
.xav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xmeta { min-width: 0; display: grid; }
.xmeta b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xmeta span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xlogo { width: 16px; height: 16px; margin-left: auto; fill: var(--ink); flex: none; opacity: .8; }
.t-x .btn-white { align-self: flex-start; height: 40px; }

/* tile 2: fee route rows */
.t-route .tile-body { justify-content: center; gap: 8px; }
.route-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: #121722; border: 1px solid var(--line); }
.route-row.dim { opacity: .62; }
.route-row.hl { border-color: rgba(var(--glow), .35); background: linear-gradient(90deg, rgba(var(--glow), .10), rgba(var(--glow), .02)); }
.r-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #1b2230; color: var(--muted); }
.r-ico svg.i { width: 15px; height: 15px; }
.r-ico.x { background: var(--ink); color: #08090c; }
.r-ico.x svg { width: 13px; height: 13px; fill: currentColor; }
.r-txt { display: grid; min-width: 0; }
.r-txt b { font-weight: 600; font-size: 14px; }
.r-txt span { font-size: 12.5px; color: var(--muted); }
.r-val { margin-left: auto; font: 500 15px var(--mono); color: var(--ink); }
.route-row.hl .r-val { color: var(--accent); }

/* tile 3: projected earnings chart */
.earn-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.seg-mini { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: #0a0d13; border: 1px solid var(--line); }
.seg-mini button { height: 22px; min-width: 30px; padding: 0 7px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 11px var(--mono); cursor: pointer; }
.seg-mini button[aria-checked="true"] { background: #222a39; color: var(--ink); }
.earn-n { font: 500 34px/1 var(--mono); letter-spacing: -.04em; color: var(--ink); margin-top: 2px; }
.earn-sub { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.earn-sub b { color: var(--accent); font-weight: 500; font-family: var(--mono); }
.earn-sub output { color: var(--ink); font-family: var(--mono); }
.earn-chart { width: 100%; flex: 1; min-height: 60px; overflow: visible; }
.earn-chart .line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.earn-chart .area { fill: url(#earnFill); }
.earn-chart .cursor { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.earn-chart .dot { fill: #fff; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.t-earn input[type="range"] { height: 18px; margin: -4px 0 0; }
.t-earn input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent), #263247); }
.t-earn input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -6px; border-width: 3px; }

/* tile 4: live blocks */
.blocks-h { display: flex; justify-content: space-between; align-items: center; }
.blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.blocks li { display: grid; grid-template-columns: 1fr auto 44px; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.blocks li:last-child { border-bottom: 0; }
.b-n { color: var(--ink); font-size: 13px; }
.blocks li:first-child .b-n { color: var(--accent); }
.b-tx { color: var(--muted); }
.b-age { color: var(--faint); font-size: 12px; text-align: right; }
.blocks li.new { animation: block-in .5s var(--ease) both; }
@keyframes block-in { from { opacity: 0; transform: translateY(-8px); background: rgba(var(--glow), .08); } }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* tile 5: contracts table */
.code { width: 100%; border-collapse: collapse; font: 400 12.5px/1 var(--mono); }
.code th { text-align: left; font-weight: 500; font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; padding: 0 0 10px; }
.code td { padding: 7px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.code td:first-child { color: var(--muted); width: 38%; }
.code td:last-child { color: var(--ink); }

/* board below */
.board { max-width: 1180px; margin: 0 auto; padding-top: clamp(64px, 8vw, 96px); }
.board h2 { font-size: 26px; }
.grid-tokens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tok { border-radius: 16px; background: #0d1118; }
.empty-state { border-radius: 18px; background: linear-gradient(180deg, #0f131b, #0b0e14); border-color: var(--line); padding: 56px 24px; }
.empty-state b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.empty-state svg { stroke: var(--muted); }
.empty-state svg circle:nth-child(3), .empty-state svg circle:nth-child(4) { fill: var(--muted); }

/* the planet sits lower and quieter behind the tiles */
@media (min-width: 761px) { .main::before { height: 1100px; opacity: max(0, calc(.8 - var(--sy, 0) / 700)); } }

@media (max-width: 1180px) {
  .t-x, .t-route { grid-column: span 6; }
  .t-earn, .t-blocks, .t-code { grid-column: span 3; }
  .t-code { grid-column: span 6; }
}
@media (max-width: 760px) {
  .hero { padding: 44px 0 32px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1; }
  .bento { grid-template-columns: 1fr; }
  .t-x, .t-route, .t-earn, .t-blocks, .t-code { grid-column: auto; height: auto; min-height: 250px; }
  .grid-tokens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* calm hero: it fades as you scroll but never moves over the tiles */
.hero { transform: none !important; }
.btn.ghost { background-image: none; }

/* one primary button across the app: white pill */
.btn:not(.ghost) { background: #f4f6fa; background-image: none; color: #08090c; border-color: #f4f6fa; }
.btn:not(.ghost):hover { background: #fff; }
.btn:not(.ghost):disabled { background: #2a303b; border-color: #2a303b; color: #8d95a5; opacity: 1; }

/* ── sidebar: larger, airier, active item in weight and colour, not in a box ── */
.side { padding: 22px 16px 18px; gap: 34px; }
.logo { height: 34px; gap: 12px; padding: 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.logo svg { width: 30px; height: 30px; }
.nav { gap: 4px; }
.nav-ind { display: none; }
.nav a { height: 46px; gap: 16px; padding: 0 10px; border-radius: 12px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; color: #8a92a2; transition: color .2s, background-color .2s; }
.nav a svg { width: 23px; height: 23px; stroke-width: 1.5; color: #8a92a2; transition: color .2s, transform .25s var(--ease); }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .035); }
.nav a:hover svg { color: var(--ink); }
.nav a[aria-current="page"] { color: #ffffff; font-weight: 700; background: none; }
.nav a[aria-current="page"] svg { color: #ffffff; stroke-width: 1.8; }
.nav .ext::after { font-size: 14px; }
.chain { border: 0; background: none; padding: 10px; gap: 12px; }
.chain b { font-size: 15px; font-weight: 600; }
.chain .mono { font-size: 12px; color: var(--faint); }
@media (max-width: 1024px) {
  .logo { padding: 0; }
  .logo svg { width: 28px; height: 28px; }
  .nav a { padding: 0; }
}

/* ══════ rhythm pass: no boxes inside boxes, more air, one cadence ══════ */
.hero { padding: clamp(72px, 11vh, 120px) 0 clamp(72px, 10vh, 112px); max-width: 760px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.038em; margin-bottom: 22px; }
.hero .lead { font-size: 16.5px; line-height: 1.6; max-width: 46ch; margin-bottom: 34px; }
.hero-actions { gap: 12px; }

.bento { gap: 20px; max-width: 1160px; }
.tile { height: 320px; border-radius: 22px; }
.tile-body { padding: 26px 26px 0; gap: 18px; }
.tile-foot { padding: 18px 26px 22px; border-top: 1px solid var(--line); margin-top: 18px; }
.tile-kicker { letter-spacing: .1em; }

/* tile 1: field, then a flat identity row */
.t-x .tile-body { gap: 16px; }
.xfield { height: 50px; }
.xcard { padding: 4px 2px; border: 0; background: none; border-radius: 0; }
.xcard.on { background: none; border: 0; }
.xcard.on .xmeta b { color: var(--ink); }
.xav { width: 40px; height: 40px; box-shadow: 0 0 0 1px var(--line-2); }
.xcard.on .xav { box-shadow: 0 0 0 2px var(--accent); }
.t-x .btn-white { margin-top: auto; }

/* tile 2: the route as a flat list with hairlines */
.t-route .tile-body { justify-content: center; gap: 0; }
.route-row { padding: 14px 2px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.route-row:last-child { border-bottom: 0; }
.route-row.dim { opacity: 1; }
.route-row.dim .r-txt b, .route-row.dim .r-val { color: var(--muted); }
.route-row.hl { background: none; border-color: var(--line); }
.route-row.hl .r-txt b { color: var(--ink); }
.r-ico { width: 34px; height: 34px; }
.r-val { font-size: 16px; }

/* row 2 */
.earn-n { font-size: 36px; }
.blocks li { padding: 10px 0; }
.code td { padding: 8px 0; }

.board { padding-top: clamp(88px, 10vw, 128px); }
.board .sec-h { margin-bottom: 28px; }

@media (max-width: 1180px) { .tile { height: 300px; } }
@media (max-width: 760px) {
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 36px; }
  .bento { gap: 14px; }
  .tile { height: auto; }
  .tile-body { padding: 22px 20px 0; }
  .tile-foot { padding: 16px 20px 18px; }
}

/* ══════ v4 · tiles are windows onto a larger interface, not boxes of controls ══════ */
.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.w-explore, .w-routes { grid-column: span 3; height: 300px; }
.w-earn, .w-x, .w-code { grid-column: span 2; height: 300px; }
.tile { border-radius: 20px; background: #0c1017; }
.tile-foot { border-top: 0; margin-top: 0; padding: 14px 20px 16px; position: relative; z-index: 2; }
.window { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.w-label { font: 500 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* explore mosaic: four columns drifting at their own speed, cropped by the frame */
.mosaic-win { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 14px;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 70%, transparent); }
.mcol { display: grid; gap: 12px; align-content: start; transform: translateY(var(--o, 0)); }
.motion .mcol { animation: drift var(--t, 30s) linear infinite var(--d, normal); }
@keyframes drift { from { transform: translateY(var(--o, 0)); } to { transform: translateY(calc(-50% + var(--o, 0))); } }
.w-explore:hover .mcol { animation-play-state: paused; }
.mcard { display: grid; gap: 4px; padding: 6px 6px 9px; border-radius: 12px; background: #131824; border: 1px solid var(--line); font-size: 12px; }
.mcard b { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.mcard span.mono { font-size: 10.5px; color: var(--muted); padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mimg { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #0b0f17; display: grid; place-items: center; }
.mimg img { width: 100%; height: 100%; object-fit: cover; }
.mcard.slot .mimg { background: radial-gradient(120% 120% at 50% 130%, #0b1120 0 60%, rgba(90, 185, 252, .55) 61%, rgba(90, 185, 252, .1) 63%, transparent 70%), radial-gradient(60% 60% at 60% 30%, rgba(90, 185, 252, .18), transparent 70%), #0a0e16; }
.mcard.slot .mimg span { font: 600 11px var(--f); color: rgba(255, 255, 255, .55); text-align: center; padding: 0 8px; }
.mcard.slot b { color: var(--muted); }

/* fee routes: a list scrolling upward, faded at both ends */
.list-win { padding: 0 20px; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 76%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 76%, transparent); }
.marquee { display: grid; gap: 10px; }
.motion .marquee { animation: rise 22s linear infinite; }
.w-routes:hover .marquee { animation-play-state: paused; }
@keyframes rise { to { transform: translateY(-50%); } }
.rrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #121722; border: 1px solid var(--line); }
.rl b, .rr b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.rl span, .rr span { font-size: 12px; color: var(--muted); }
.rr { text-align: right; }
.rr b { color: var(--accent); }
.rr span { font-family: var(--mono); }
.rpath { display: flex; align-items: center; gap: 8px; color: var(--faint); }
.rpath .arrow { width: 16px; height: 16px; }
.tok-dot, .rpath .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none; }
.tok-dot { background: #1b2230; color: var(--accent); }
.tok-dot svg.tiny { width: 14px; height: 14px; }
.rpath .av { background: #f2f4f8; color: #08090c; font: 600 13px var(--f); box-shadow: 0 0 0 2px #0c1017; }
.rpath .av img { width: 100%; height: 100%; object-fit: cover; }

/* earnings window */
.earn-win { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.earn-top { display: flex; justify-content: space-between; align-items: center; }
.earn-n { font-size: 34px; margin-top: 4px; }

/* fees route to: a search field with one live suggestion, like a picker */
.x-win { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.xfield { height: 46px; border-color: rgba(255, 255, 255, .85); }
.xfield .enter { font: 500 12px var(--mono); color: var(--faint); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.xcard { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 10px 12px; border-radius: 14px; background: #131824; border: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.xcard:hover { background: #172032; border-color: var(--line-2); }
.xcard.on { background: #131c2c; border-color: rgba(var(--glow), .3); }
.xgo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); flex: none; }
.xgo svg.i { width: 15px; height: 15px; }
.xcard:not(.on) .xgo { color: var(--faint); }

/* contracts window: intro text fades out at the top like a cropped doc */
.code-win { padding: 14px 20px 0; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 88%, transparent); }
.code-intro { margin: 0 0 14px; font-size: 11.5px; line-height: 1.6; color: var(--faint); }
.code td { padding: 7px 0; }

@media (max-width: 1180px) {
  .w-explore, .w-routes { grid-column: span 6; }
  .w-earn, .w-x { grid-column: span 3; }
  .w-code { grid-column: span 6; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .w-explore, .w-routes, .w-earn, .w-x, .w-code { grid-column: auto; height: 290px; }
  .mosaic-win { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic-win .mcol:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mcol, .marquee { animation: none !important; } }

.x-hint { margin: auto 0 4px; display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.x-hint div { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.x-hint b { font: 500 12.5px var(--mono); color: var(--ink); }

/* hero: one line of headline, one line of support */
.hero { max-width: none; padding: clamp(80px, 13vh, 132px) 0 clamp(64px, 9vh, 96px); }
.hero h1 { max-width: none; font-size: clamp(34px, 3.9vw, 56px); white-space: nowrap; margin-bottom: 16px; letter-spacing: -.035em; }
.hero .lead { max-width: none; font-size: 18px; margin-bottom: 32px; }
@media (max-width: 900px) { .hero h1 { white-space: normal; max-width: 14ch; margin-inline: auto; } .hero .lead { max-width: 34ch; margin-inline: auto; } }

/* explore mosaic: X profiles from the Elysium team between Montra's best tokens */
.mcard .mono i { font-style: normal; }
.mcard .mono i.up { color: #6fd3a0; }
.mcard .mono i.dn { color: #f08a8a; }
.mcard.xp .mimg { position: relative; background: radial-gradient(90% 70% at 50% 0%, rgba(90, 185, 252, .16), transparent 70%), #0d121c; }
.xpav { width: 56%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #f2f4f8; box-shadow: 0 0 0 3px #0d121c, 0 0 0 4px rgba(255, 255, 255, .14); position: relative; }
.xpav em { font: 600 22px var(--f); font-style: normal; color: #08090c; }
.xpav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xptag { position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center; font: 500 10px/1.3 var(--f); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard.xp .mimg { place-items: center; padding-bottom: 14px; }

/* logo is the supplied image */
.logo img { width: 30px; height: 30px; display: block; flex: none; }
@media (max-width: 760px) { .logo img { width: 28px; height: 28px; } }


/* ══════ launch page: numbered steps, live token preview, quick amounts ══════ */
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.facts li { font: 500 13px var(--f); color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.facts li:nth-child(3) { color: var(--ink); border-color: rgba(var(--glow), .35); }

.step-card { transition: border-color .25s, background-color .25s; }
.step-card:focus-within { border-color: rgba(var(--glow), .45); }
.step-card .card-h { align-items: center; }
.step-n { font: 500 12px/1 var(--mono); color: var(--accent); padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(var(--glow), .35); transition: background-color .25s, color .25s, border-color .25s; }
.step-ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #06121f; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); }
.step-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step-card.done .step-ok { opacity: 1; transform: none; }
.step-card.done .step-n { background: var(--accent); color: #06121f; border-color: var(--accent); }

/* image tile: bigger, clickable, the Elypaid star as placeholder */
.preview { align-items: center; }
.preview .ph { width: 92px; height: 92px; border-radius: 16px; display: grid; place-items: center; cursor: pointer; border: 1px dashed rgba(var(--glow), .45);
  background: radial-gradient(70% 70% at 50% 40%, rgba(var(--glow), .10), transparent 70%), var(--field); transition: border-color .2s, background-color .2s; }
.preview .ph:hover, .preview .ph:focus-visible { border-color: var(--accent); outline: none; }
.preview .ph img { width: 46px; height: 46px; border: 0; background: none; opacity: .55; transition: opacity .2s, transform .3s var(--ease); }
.preview .ph:hover img { opacity: .9; transform: scale(1.06); }
.preview > img { width: 92px; height: 92px; border-radius: 16px; border-style: solid; }

/* first buy quick amounts */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--muted); font: 500 13px var(--mono); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.chips button:hover { color: var(--ink); border-color: var(--line-2); }
.chips button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); background: rgba(var(--glow), .08); }

/* live token preview */
.tok-prev { position: relative; overflow: hidden; margin: -8px -8px 20px; padding: 18px; border-radius: 16px; border: 1px solid rgba(var(--glow), .25);
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--glow), .16), transparent 55%), linear-gradient(180deg, #0d1626, #0a101b); }
.tok-prev::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 22%, #cfe6ff, transparent), radial-gradient(1px 1px at 78% 14%, #fff, transparent), radial-gradient(1px 1px at 64% 70%, #cfe6ff, transparent), radial-gradient(1px 1px at 30% 82%, #fff, transparent), radial-gradient(1.5px 1.5px at 90% 52%, #e6f4ff, transparent), radial-gradient(1px 1px at 44% 40%, #9fc7ff, transparent); }
.tp-top { position: relative; display: flex; align-items: center; gap: 14px; }
.tp-img { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; flex: none; background: #0b1220; border: 1px solid var(--line-2); display: grid; place-items: center; }
.tp-img > img { width: 100%; height: 100%; object-fit: cover; }
.tp-img span img { width: 34px; height: 34px; opacity: .8; }
.tp-id { display: grid; gap: 3px; min-width: 0; }
.tp-id b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-id span { font-size: 13px; color: var(--accent); }
.tp-route { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tp-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; position: relative; display: grid; place-items: center; background: #f2f4f8; color: #08090c; font: 600 15px var(--f); }
.tp-av em { font-style: normal; }
.tp-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-who { display: grid; gap: 1px; min-width: 0; flex: 1; }
.tp-who small, .tp-pct small { font-size: 11.5px; color: var(--muted); }
.tp-who b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pct { display: grid; text-align: right; }
.tp-pct b { font-size: 17px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .step-ok, .step-n, .preview .ph img { transition: none; } }


/* ══════ ledger: who earned what ══════ */
.earn-card .card-h { align-items: center; }
.earn-total { margin-left: auto; font-size: 13px; color: var(--accent); }
.earners { display: grid; gap: 6px; margin-top: 14px; }
.earner { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); color: inherit; text-decoration: none; transition: border-color .2s, background-color .2s; }
.earner:hover { border-color: var(--line-2); background: #141a26; }
.earner .rk { font-size: 13px; color: var(--faint); text-align: center; }
.earner:nth-child(1) .rk { color: var(--accent); font-weight: 600; }
.ea-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; position: relative; display: grid; place-items: center; background: #f2f4f8; color: #08090c; font: 600 16px var(--f); }
.ea-av em { font-style: normal; }
.ea-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ea-who { display: grid; gap: 2px; min-width: 0; }
.ea-who b { font-size: 15px; }
.ea-who small, .ea-amt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ea-amt { display: grid; gap: 2px; text-align: right; }
.ea-amt b { font-size: 15px; color: var(--ink); }


/* ══════ home: live fees feed ══════ */
.feed li { gap: 10px; }
.fd-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; position: relative; flex: none; display: grid; place-items: center; background: #f2f4f8; color: #08090c; font: 600 13px var(--f); }
.fd-av em { font-style: normal; }
.fd-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fd-who { display: grid; gap: 1px; min-width: 0; }
.fd-who b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-who small { font-size: 12px; color: var(--muted); }
.feed li .fd-amt { margin-left: auto; color: var(--accent); font-size: 13px; white-space: nowrap; }
.motion .feed li.new { animation: feed-in .5s var(--ease) both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); background: rgba(var(--glow), .10); } to { opacity: 1; transform: none; background: transparent; } }
@media (prefers-reduced-motion: reduce) { .feed li.new { animation: none; } }


/* ══════ X account links ══════ */
.x-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: border-color .2s, background-color .2s; }
.x-btn:hover { border-color: var(--ink); background: rgba(255, 255, 255, .06); }
.x-btn svg, .foot-x svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.nav a.nav-x svg { fill: currentColor; stroke: none; width: 18px; height: 18px; padding: 1px; }
.foot-x { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .x-btn { width: 36px; height: 36px; } }

.foot { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot a.foot-x { display: flex; align-items: center; gap: 8px; }


/* ══════ official $Elypaid token pill in the hero ══════ */
.official { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 8px 8px 8px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--glow), .3); background: rgba(10, 16, 28, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 100%; flex-wrap: wrap; justify-content: center; }
.of-logo { width: 34px; height: 34px; border-radius: 50%; background: #03050a; }
.of-name { display: grid; text-align: left; line-height: 1.15; }
.of-name b { font-size: 15px; }
.of-name small { font-size: 11.5px; color: var(--muted); }
.of-ca { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.of-ca:hover { border-color: var(--accent); }
.of-ca svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.of-ca.copied { color: var(--accent); border-color: var(--accent); }
.of-stat { font-size: 13px; color: var(--muted); }
.of-stat i { font-style: normal; }
.of-stat i.up { color: #6fd3a0; } .of-stat i.dn { color: #f08a8a; }
.of-buy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #f2f4f8; color: #08090c; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.of-buy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.of-buy:hover { background: #fff; }
@media (max-width: 760px) { .official { gap: 10px; border-radius: 22px; padding: 10px; } }


/* token card: creator fees earned by the X account */
.tok .fees-l { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.tok .fees-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tok .fees-l b { color: var(--accent); font-size: 12.5px; white-space: nowrap; }
