@font-face { font-family: "Mona"; src: url("/fonts/mona.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

/* Every colour comes from the logo: night navy, moonlit ice, the two blues of the leaves */
:root {
  --ink: #050a16;
  --ink-2: #0a1426;
  --ink-3: #101d36;
  --glass: rgba(8, 16, 33, 0.72);
  --paper: #cfe1fb;
  --dim: #8ba3c7;
  --faint: #6d85aa;
  --line: rgba(139, 176, 232, 0.14);
  --line-2: rgba(139, 176, 232, 0.3);
  --morpho: #63bcf7;
  --deep: #1c55d6;
  --down: #e8a48e;
  --up: #7fd6c2;
  --gutter: clamp(16px, 2.4vw, 36px);
  --r: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: "Mona", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: "kern", "liga"; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
::selection { background: var(--morpho); color: var(--ink); }
:focus-visible { outline: 1px solid var(--morpho); outline-offset: 3px; }
.num { font-feature-settings: "lnum"; }
h1, h2, .display { font-stretch: 125%; font-weight: 300; line-height: 1.16; letter-spacing: -0.012em; text-wrap: balance; }
.blue { color: var(--morpho); }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; touch-action: pan-y; }
.page { position: relative; z-index: 2; }

/* Header */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 26px; padding: 14px var(--gutter); pointer-events: none; transition: transform 0.3s ease; }
.top.away { transform: translateY(-110%); }
.top > * { pointer-events: auto; }
.top::before { content: ""; position: absolute; inset: 0 0 -28px 0; background: linear-gradient(180deg, rgba(5, 10, 22, 0.62), rgba(5, 10, 22, 0)); pointer-events: none; z-index: -1; }
.mark { display: flex; align-items: center; gap: 9px; flex: none; }
.mark svg { width: 24px; height: 24px; display: block; filter: drop-shadow(0 0 9px rgba(99, 188, 247, 0.55)); }
.mark b { font-stretch: 125%; font-weight: 400; font-size: 15px; letter-spacing: 0.01em; background: linear-gradient(100deg, #9ed6fb, #4a9bf5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--dim); font-size: 13.5px; padding: 3px 0; transition: color 0.15s; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--morpho); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.text-btn { font-size: 13.5px; color: var(--dim); padding: 3px 0; transition: color 0.15s; white-space: nowrap; }
.text-btn:hover { color: var(--paper); }
.text-btn[aria-pressed="true"] { color: var(--morpho); }
.x-btn { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--paper); background: rgba(8, 16, 33, 0.42); transition: color 0.15s, border-color 0.15s; }
.x-btn:hover { color: var(--morpho); border-color: var(--morpho); }
.x-btn svg, .foot-x svg, .x-follow svg { display: block; width: 13px; height: 13px; fill: currentColor; flex: none; }
.foot-x { display: inline-flex; align-items: center; gap: 7px; }
.x-row { margin-top: 14px; }
.x-follow { display: inline-flex; align-items: center; gap: 8px; }
.ca { color: var(--paper); border-bottom: 1px dashed var(--line-2); overflow-wrap: anywhere; text-align: left; cursor: copy; transition: color 0.15s, border-color 0.15s; }
.ca:hover { color: var(--morpho); border-color: var(--morpho); }
[data-token] .btn, [data-hero-token] .btn { margin-left: 8px; vertical-align: middle; }
.ca-btn { flex: none; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 12.5px; color: var(--paper); background: rgba(8, 16, 33, 0.42); white-space: nowrap; transition: color 0.15s, border-color 0.15s; }
.ca-btn:hover { color: var(--morpho); border-color: var(--morpho); }
.ca-btn[data-ca] { cursor: copy; }
.soon { font-style: normal; font-size: 11.5px; color: var(--dim); margin-left: 6px; }
.ca-nav { display: none; }
.hero-token { margin-top: 12px; font-size: 13px; color: var(--dim); }
#connect { color: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 5px 11px; background: rgba(8, 16, 33, 0.35); }
#connect:hover { border-color: var(--morpho); color: var(--morpho); }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); font-weight: 500; font-size: 13.5px; white-space: nowrap; transition: filter 0.15s, background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.2s; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-w { background: linear-gradient(115deg, #4a9bf5, #8ccbfa); color: #04101f; box-shadow: 0 0 22px rgba(74, 155, 245, 0.28); }
.btn-w:hover:not([disabled]) { filter: brightness(1.1); box-shadow: 0 0 30px rgba(99, 188, 247, 0.45); }
.btn-g { border: 1px solid var(--line-2); color: var(--paper); background: rgba(8, 16, 33, 0.42); }
.btn-g:hover:not([disabled]) { border-color: var(--morpho); color: var(--morpho); }
.btn-g[aria-pressed="true"] { border-color: var(--morpho); color: var(--morpho); }
.btn-s { height: 30px; padding: 0 11px; font-size: 12.5px; }
.link { border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color 0.15s, border-color 0.15s; }
.link:hover { color: var(--morpho); border-color: var(--morpho); }

/* The wallet box */
.seek { display: flex; align-items: stretch; background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color 0.15s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 440px; }
.seek:focus-within { border-color: var(--morpho); }
.seek input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 13px; height: 44px; font-size: 13.5px; }
.seek input::placeholder { color: var(--faint); }
.seek .btn { height: auto; margin: 3px; padding: 0 14px; border-radius: 4px; }
.seek-err { min-height: 18px; margin-top: 5px; font-size: 12.5px; color: var(--down); }

/* Home */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 80px var(--gutter) clamp(14px, 3.4vh, 34px); position: relative; }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(760px, 100%); height: 70%; background: radial-gradient(100% 100% at 0% 100%, rgba(5, 10, 22, 0.72), rgba(5, 10, 22, 0) 72%); z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(28px, 3vw, 44px); }
.hero h1 span { display: block; }
.hero h1 span span { display: inline; color: var(--morpho); }
.hero .lede { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--dim); max-width: 27em; }
.hero .seek { margin-top: 18px; }
.hero .foot { margin-top: 3px; font-size: 12.5px; color: var(--faint); max-width: 36em; }
.hero .foot a { color: var(--dim); border-bottom: 1px solid var(--line-2); }
.hero .foot a:hover { color: var(--morpho); border-color: var(--morpho); }
.hero-row { display: block; }

.ch { position: relative; min-height: 175vh; padding: 0 var(--gutter); }
.ch-in { opacity: 0; position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 78px 0 clamp(22px, 5vh, 54px); pointer-events: none; }
.ch-in > * { pointer-events: auto; }
.ch-in::before { content: ""; position: absolute; left: calc(var(--gutter) * -1); bottom: 0; width: min(720px, 100vw); height: 72%; z-index: -1; background: radial-gradient(100% 100% at 0% 100%, rgba(5, 10, 22, 0.74), rgba(5, 10, 22, 0) 72%); pointer-events: none; }
.ch-in.right { align-items: flex-end; text-align: right; }
.ch-in.right::before { left: auto; right: calc(var(--gutter) * -1); background: radial-gradient(100% 100% at 100% 100%, rgba(5, 10, 22, 0.74), rgba(5, 10, 22, 0) 72%); }
.ch h2 { font-size: clamp(23px, 2.25vw, 32px); max-width: 17em; }
.ch p.s { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--dim); max-width: 27em; }
.fig { font-stretch: 125%; font-weight: 200; font-size: clamp(52px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.02em; margin-top: 14px; color: var(--morpho); text-shadow: 0 0 34px rgba(99, 188, 247, 0.35); }
.fig-l { font-size: 13px; color: var(--dim); margin-top: 2px; }
.pick { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.pick button { font-size: 13px; padding: 3px 0; color: var(--dim); border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.pick button:hover { color: var(--paper); }
.pick button[aria-pressed="true"] { color: var(--morpho); border-color: var(--morpho); }
.swap { display: flex; align-items: baseline; gap: 0.26em; font-stretch: 125%; font-weight: 200; font-size: clamp(52px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.02em; margin-top: 14px; color: var(--morpho); text-shadow: 0 0 34px rgba(99, 188, 247, 0.35); }
.swap .was { color: var(--faint); font-size: 0.52em; text-shadow: none; }
.swap .arrow { color: var(--faint); font-size: 0.34em; text-shadow: none; }

.tok { position: relative; padding: 16vh var(--gutter) 10vh; background: linear-gradient(180deg, rgba(5, 10, 22, 0), var(--ink) 16vh); }
.tok h2 { font-size: clamp(26px, 2.8vw, 40px); }
.tok .intro { margin-top: 10px; color: var(--dim); max-width: 34em; }
.rows { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rows > div { padding: 20px 20px 22px; background: var(--ink); transition: background 0.2s; }
.rows > div:hover { background: var(--ink-2); }
.rows h3 { font-stretch: 125%; font-weight: 400; font-size: 15.5px; line-height: 1.25; color: var(--morpho); }
.rows p { font-size: 14px; line-height: 1.5; margin-top: 7px; color: var(--dim); }
.status { margin-top: 20px; font-size: 14px; max-width: 46em; color: var(--dim); }
.status b { font-weight: 500; color: var(--paper); }
.final { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 12vh var(--gutter) clamp(20px, 5vh, 54px); background: linear-gradient(180deg, var(--ink), rgba(5, 10, 22, 0.1) 30%, rgba(5, 10, 22, 0) 70%, rgba(5, 10, 22, 0.55)); }
.final h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 16px; }

.foot-nav { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 18px var(--gutter); border-top: 1px solid var(--line); background: var(--ink); font-size: 13px; color: var(--dim); flex-wrap: wrap; }
.foot-nav a:hover { color: var(--morpho); }
.foot-nav .sp { flex: 1; }

/* Loader: the picture of the first shot, right away, with a thin line while the real forest arrives behind it */
#loader { position: fixed; inset: 0; z-index: 1; background: var(--ink) center / cover no-repeat; transition: opacity 1.1s ease, visibility 1.1s; pointer-events: none; }
#loader.done { opacity: 0; visibility: hidden; }
#loader .bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: transparent; overflow: hidden; }
#loader .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1c55d6, #63bcf7); box-shadow: 0 0 10px rgba(99, 188, 247, 0.7); transition: width 0.4s ease; }

/* Labels in the scene */
#tip { position: fixed; z-index: 25; left: 0; top: 0; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 10px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: var(--r); font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity 0.12s; }
#tip.on { opacity: 1; }
#tip b { font-weight: 600; }
#tip em { font-style: normal; color: var(--dim); }
#tip span { display: block; color: var(--dim); font-size: 12px; }

.tag { position: fixed; z-index: 8; left: 0; top: 0; pointer-events: none; padding: 4px 9px; background: rgba(8, 16, 33, 0.86); border: 1px solid var(--line-2); border-radius: var(--r); font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity 0.3s; }
.tag.on { opacity: 1; }
.tag b { color: var(--morpho); font-weight: 500; }
.tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 26px; background: linear-gradient(180deg, var(--line-2), rgba(139, 176, 232, 0)); }

/* Forest */
.dash { position: fixed; z-index: 10; left: var(--gutter); bottom: clamp(16px, 3.4vh, 34px); right: calc(380px + var(--gutter) * 2); pointer-events: none; }
.dash::before { content: ""; position: fixed; left: 0; bottom: 0; width: 56vw; height: 58vh; background: radial-gradient(100% 100% at 0% 100%, rgba(5, 10, 22, 0.76), rgba(5, 10, 22, 0) 72%); z-index: -1; pointer-events: none; }
.dash > * { pointer-events: auto; }
.dash .label { font-size: 12.5px; color: var(--dim); margin-bottom: 4px; }
.dash .label em { font-style: normal; color: var(--faint); margin-left: 6px; }
.dash .bets { font-stretch: 125%; font-weight: 200; font-size: clamp(60px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.02em; color: var(--morpho); text-shadow: 0 0 40px rgba(99, 188, 247, 0.38); }
.dash .bets-l { font-size: 14px; line-height: 1.4; margin-top: 4px; color: var(--dim); max-width: 30em; }
.dash .acts { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.dash .acts .btn { height: 34px; padding: 0 12px; font-size: 12.5px; font-weight: 400; }
.side { position: fixed; z-index: 11; top: 0; right: 0; bottom: 0; width: 380px; display: flex; flex-direction: column; background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-left: 1px solid var(--line); padding-top: 54px; }
.tabs { display: flex; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 9px 0; font-size: 13px; color: var(--dim); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color 0.15s; white-space: nowrap; }
.tabs button:hover { color: var(--paper); }
.tabs button[aria-selected="true"] { color: var(--morpho); border-color: var(--morpho); }
.pane { flex: 1; overflow-y: auto; padding: 20px; display: none; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pane.on { display: block; }
.pane h3 { font-stretch: 125%; font-weight: 300; font-size: 20px; line-height: 1.22; letter-spacing: -0.008em; text-wrap: balance; }
.pane .sub { margin-top: 6px; color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.fam { margin-top: 18px; }
.fam-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; padding-bottom: 5px; border-bottom: 1px solid var(--line-2); }
.fam-h span { color: var(--dim); font-weight: 400; font-size: 12.5px; }
.st { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: default; }
.st:hover { color: var(--morpho); }
.st b { font-weight: 500; }
.st em { font-style: normal; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st .x { color: var(--faint); font-size: 15px; line-height: 1; padding: 0 2px; }
.st .x:hover { color: var(--down); }
.chips { display: flex; gap: 13px; margin: 14px 0 4px; flex-wrap: wrap; align-items: baseline; }
.chips > span { font-size: 12.5px; color: var(--faint); }
.chips button { font-size: 13px; padding: 2px 0; color: var(--dim); border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.chips button:hover { color: var(--paper); }
.chips button[aria-pressed="true"] { color: var(--morpho); border-color: var(--morpho); }
.plant { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.plant .n { font-size: 13.5px; font-weight: 500; }
.plant .n em { font-style: normal; color: var(--dim); font-weight: 400; }
.plant .y { grid-column: 1; color: var(--dim); font-size: 12.5px; line-height: 1.4; }
.plant .y b { color: var(--morpho); font-weight: 500; }
.plant .btn { grid-row: 1 / span 2; grid-column: 2; }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.row em { font-style: normal; color: var(--dim); }
.row b { font-weight: 500; }
.power { font-stretch: 125%; font-weight: 200; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; margin-top: 6px; color: var(--morpho); }
.note { font-size: 12.5px; color: var(--dim); margin-top: 10px; line-height: 1.45; }
.note a { border-bottom: 1px solid var(--line-2); color: var(--paper); }
.block { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.block h4 { font-size: 13.5px; font-weight: 500; }
.block p { margin: 4px 0 10px; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.empty { padding: 22px 0; color: var(--dim); font-size: 13.5px; }
.scan { position: fixed; inset: 0; z-index: 9; display: grid; place-items: center; pointer-events: none; font-size: 14px; color: var(--dim); }
.add { display: flex; gap: 6px; margin-top: 14px; }
.add input { flex: 1; min-width: 0; height: 36px; padding: 0 11px; background: rgba(5, 10, 22, 0.6); border: 1px solid var(--line-2); border-radius: var(--r); outline: 0; font-size: 13px; }
.add input:focus { border-color: var(--morpho); }
.add input::placeholder { color: var(--faint); }
.meter { position: relative; height: 2px; background: var(--line); margin-top: 5px; border-radius: 2px; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--down); border-radius: 2px; }
.meter i.good { background: var(--up); }
.loss { font-stretch: 125%; font-weight: 200; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; margin-top: 8px; color: var(--down); }
.loss.calm { color: var(--up); }

/* Dialogs */
.dlg-wrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(3, 7, 16, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg { width: min(420px, 100%); max-height: 92vh; overflow-y: auto; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 22px; }
.dlg:focus { outline: 0; }
.dlg h3 { font-stretch: 125%; font-weight: 300; font-size: 22px; line-height: 1.2; }
.dlg p { color: var(--dim); font-size: 13.5px; margin-top: 7px; line-height: 1.45; }
.dlg-acts { display: flex; gap: 8px; margin-top: 18px; }
.dlg-acts .btn { flex: 1; }
.wlist { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.wlist button { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.wlist button:hover { color: var(--morpho); }
.wlist img { width: 22px; height: 22px; border-radius: 4px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 9px 14px; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--paper); border-radius: var(--r); font-size: 13.5px; max-width: calc(100vw - 32px); }

/* Content pages */
.content { padding: 104px var(--gutter) 72px; position: relative; z-index: 2; max-width: 1400px; }
.backdrop { position: absolute; top: 0; left: 0; right: 0; height: 74vh; z-index: 0; background: var(--ink) center 40% / cover no-repeat; overflow: hidden; }
.content ~ .foot-nav { position: relative; }
@keyframes drift { from { background-size: 100% auto; background-position: 50% 42%; } to { background-size: 108% auto; background-position: 54% 36%; } }
@media (min-aspect-ratio: 16/10) { .backdrop { animation: drift 46s ease-in-out infinite alternate; } }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 22, 0.62), rgba(5, 10, 22, 0) 58%), linear-gradient(180deg, rgba(5, 10, 22, 0.18), rgba(5, 10, 22, 0.5) 52%, var(--ink)); }
.content h1 { font-size: clamp(30px, 3.4vw, 48px); }
.content .lede { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--dim); max-width: 33em; }
.tools { display: flex; align-items: baseline; gap: 18px 30px; margin-top: 34px; flex-wrap: wrap; }
.tools .seek { flex: 0 1 360px; }
.tools .seek input { height: 36px; }
.tbl-wrap { margin-top: 14px; overflow-x: auto; background: rgba(5, 10, 22, 0.55); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-feature-settings: "lnum"; }
th { text-align: right; font-weight: 400; color: var(--faint); padding: 9px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; font-size: 12.5px; }
td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
th.left, td.left { text-align: left; }
tbody tr[data-a] { cursor: pointer; }
tbody tr[data-a]:hover td { color: var(--morpho); }
td .dimmed, td.dimmed { color: var(--dim); }
.up { color: var(--up); } .down { color: var(--down); }
.dv { display: inline-block; width: 84px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--line); position: relative; border-radius: 2px; }
.dv i { position: absolute; top: 0; bottom: 0; background: currentColor; border-radius: 2px; }
.dv::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-2); }
.mb { display: inline-block; width: 64px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--line); position: relative; border-radius: 2px; overflow: hidden; }
.mb i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #1c55d6, #63bcf7); }
.you td { color: var(--morpho); }
.prose { max-width: 620px; margin-top: 54px; }
.prose h2 { font-size: clamp(21px, 2vw, 27px); margin-top: 46px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; margin-top: 10px; line-height: 1.6; color: var(--dim); }
.prose ul { padding-left: 18px; margin: 0; }
.prose a { border-bottom: 1px solid var(--line-2); color: var(--paper); }
.prose a:hover { color: var(--morpho); border-color: var(--morpho); }
.prose .seek { margin-top: 14px; }
.formula { margin-top: 14px; padding: 12px 14px; background: rgba(5, 10, 22, 0.55); border: 1px solid var(--line); border-radius: var(--r); font-size: clamp(14px, 1.3vw, 17px); color: var(--morpho); overflow-x: auto; }
details { border-bottom: 1px solid var(--line); padding: 11px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 14px; }
summary { cursor: pointer; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary:hover { color: var(--morpho); }
summary::after { content: "+"; color: var(--dim); font-size: 17px; line-height: 1.2; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }
details p { font-size: 14px; margin-top: 6px; }
.small { font-size: 12.5px !important; color: var(--faint) !important; }

/* The Web */
.web-ui { position: fixed; z-index: 10; left: var(--gutter); bottom: clamp(16px, 3.4vh, 34px); width: min(380px, calc(100vw - 2 * var(--gutter))); pointer-events: none; }
.web-ui::before { content: ""; position: fixed; left: 0; bottom: 0; width: 52vw; height: 66vh; background: radial-gradient(100% 100% at 0% 100%, rgba(5, 10, 22, 0.8), rgba(5, 10, 22, 0) 72%); z-index: -1; pointer-events: none; }
.web-ui > * { pointer-events: auto; }
.web-ui h1 { font-size: clamp(28px, 3vw, 42px); pointer-events: none; }
.web-ui p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--dim); pointer-events: none; }
.web-card { margin-top: 10px; padding: 14px 16px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r); max-height: 44vh; overflow-y: auto; }
.web-card h3 { font-stretch: 125%; font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--morpho); }
.web-card h3 em { font-stretch: 100%; font-style: normal; color: var(--dim); font-weight: 400; font-size: 12.5px; margin-left: 4px; }
.web-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.web-card h4 { margin: 0 0 3px; color: var(--faint); font-size: 12.5px; }
.web-card .pair { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; cursor: pointer; }
.web-card .pair:hover { color: var(--morpho); }
.web-seek { display: flex; margin-top: 10px; }
.web-seek input { width: 100%; height: 38px; padding: 0 12px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: var(--r); outline: 0; font-size: 13.5px; }
.web-seek input:focus { border-color: var(--morpho); }
.web-seek input::placeholder { color: var(--faint); }

/* Phones */
@media (max-width: 880px) {
  body { font-size: 14.5px; }
  .top { gap: 12px; padding: 11px var(--gutter); }
  .nav { display: none; position: fixed; inset: 50px 0 auto 0; flex-direction: column; gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 6px var(--gutter); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--paper); }
  .nav a:last-child { border: 0; }
  .ca-btn span { display: none; }
  .ca-nav, .nav a.ca-nav { display: block; padding: 11px 0; font-size: 15px; text-align: left; color: var(--morpho); }
  [data-token] .btn, [data-hero-token] .btn { display: flex; width: fit-content; margin: 10px 0 0; }
  .menu-btn { display: block; color: var(--paper); }
  #sound { display: none; }
  .ch-in.right { align-items: flex-start; text-align: left; }
  .ch-in::before, .ch-in.right::before { left: calc(var(--gutter) * -1); right: auto; width: 100vw; background: linear-gradient(180deg, rgba(5, 10, 22, 0), rgba(5, 10, 22, 0.82)); }
  .rows { grid-template-columns: 1fr; }
  .side { top: auto; left: 0; bottom: 0; width: auto; max-height: 64vh; padding-top: 0; border-left: 0; border-top: 1px solid var(--line-2); transform: translateY(calc(100% - 40px)); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .side.open { transform: none; }
  .dash { bottom: 50px; right: var(--gutter); }
  .dash::before { width: 100vw; }
  .dash .acts .btn { flex: 1; padding: 0 8px; }
  .hide-s { display: none; }
  .dv, .mb { display: none; }
  .content { padding-top: 84px; }
  .tools .seek { flex: 1 1 100%; }
  .tbl-wrap { padding: 2px 10px; }
  th, td { padding-left: 5px; padding-right: 5px; }
}
@media (max-width: 360px) {
  .mark b { display: none; }
  .top { gap: 8px; }
  .top-r { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
