/* ==========================================================
   AXON — styles
   ========================================================== */
:root {
  --accent: #aa88ff;
  --text: #dddddd;
  --muted: #8a8a8a;
  --chip: #1c1c1c;
  --line: #2a2a2a;
  --bg: #000;
  --panel: rgba(12, 12, 16, 0.58);
  --panel-solid: #0b0b0e;
  --up: #9fe0c0;
  --down: #ff8f9f;
  --mono: "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; background: var(--bg); }
body {
  color: var(--text);
  font: 13px/1.35 var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; letter-spacing: inherit; color: var(--text); }
kbd { font: inherit; font-size: 10px; border: 1px solid var(--line); padding: 1px 5px; border-radius: 3px; color: var(--muted); }
::selection { background: var(--accent); color: #000; }
[hidden] { display: none !important; }

canvas#bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
body.no-webgl canvas#bg { background: radial-gradient(60% 60% at 62% 50%, #1a1426 0%, #000 70%); }

/* ---------- UI layer ---------- */
.ui { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease) .2s; }
body.ui-in .ui { opacity: 1; }
.ui a, .ui button, .ui input, .ui select, .ui textarea, .ui label, .ui .list, .ui .page, .ui .tags { pointer-events: auto; }

.brand { position: absolute; top: 24px; left: 24px; display: flex; gap: 14px; align-items: center; text-decoration: none; mix-blend-mode: plus-lighter; }
.brand .mark { width: 40px; height: 40px; display: block; }
.brand .name { font-size: 20px; color: #fff; line-height: 1; }
.brand .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

.top-right { position: absolute; top: 24px; right: 24px; display: flex; gap: 10px; align-items: center; }
.counter {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #0a0a0a;
  display: grid; place-items: center; font-size: 14px; color: #fff; position: relative;
}
.counter::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p, 0) * 360deg), transparent 0);
  -webkit-mask: radial-gradient(circle, transparent 20.5px, #000 21px); mask: radial-gradient(circle, transparent 20.5px, #000 21px);
  opacity: .9;
}
.wallet-btn {
  height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line); background: #0a0a0a;
  font-size: 12px; color: #fff; display: inline-flex; align-items: center; gap: 8px; transition: border-color .3s, background .3s;
}
.wallet-btn:hover { border-color: var(--accent); }
.wallet-btn.on .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Home ---------- */
.home { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
body:not(.is-home) .home { opacity: 0; transform: translateY(10px); }
body:not(.is-home) .home, body:not(.is-home) .home * { pointer-events: none !important; }

.sidenav { position: absolute; top: 104px; left: 24px; width: 320px; border-top: 1px solid var(--line); pointer-events: auto; transition: width .6s var(--ease); }
body.is-home .sidenav a[data-path="/"] { display: none; }
.sidenav a.on { color: var(--accent); }
.sidenav a.on i { color: var(--accent); }
/* Inner pages: the side menu stays as a slimmer rail and the page content sits beside it */
body:not(.is-home) .sidenav { width: 220px; }
body:not(.is-home) .sidenav a { font-size: 17px; padding: 10px 2px; }
body:not(.is-home) .sidenav a.on { padding-left: 10px; background: linear-gradient(90deg, rgba(170, 136, 255, .14), transparent 80%); box-shadow: inset 2px 0 0 var(--accent); }
body:not(.is-home) .page { left: 268px; }
body.no-sidenav .page { left: 0; }
.sidenav a {
  display: flex; align-items: baseline; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 22px; line-height: 1.1; color: #fff; transition: color .3s, padding .4s var(--ease), background .3s;
}
.sidenav a em { font-style: normal; font-size: 11px; color: var(--accent); width: 18px; }
.sidenav a span { flex: 1; }
.sidenav a i { font-style: normal; font-size: 13px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.sidenav a:hover { color: var(--accent); padding-left: 10px; background: linear-gradient(90deg, rgba(170, 136, 255, .1), transparent 70%); }
body:not(.no-sidenav) .tags { top: 360px; }
body:not(.no-sidenav) .list { top: 432px; }
.sidenav a:hover i { color: var(--accent); transform: translateX(-6px); }
.tags { position: absolute; top: 120px; left: 24px; width: 320px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--chip); padding: 5px 9px; font-size: 11px; color: #cfcfcf; transition: background .25s, color .25s; }
.chip:hover { color: #fff; background: #262626; }
.chip.active { background: #e6e6e6; color: #000; }

.list { position: absolute; top: 250px; left: 24px; bottom: 0; width: 320px; overflow-y: auto; scrollbar-width: none; padding-bottom: 110px; }
.list::-webkit-scrollbar { display: none; }
.card { display: block; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.card .thumb { height: 160px; border-radius: 2px; background: #0a0a0a; overflow: hidden; }
.card .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.card:hover .thumb video { transform: scale(1.04); }
.card .meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 12px; }
.card .meta .l { color: #fff; white-space: pre-line; }
.card .meta .r { color: var(--muted); text-align: right; white-space: pre-line; }
.list-empty { display: none; color: var(--muted); padding: 18px 0; border-top: 1px solid var(--line); }
.list.empty .list-empty { display: block; }

.about { position: absolute; right: 90px; top: 50%; transform: translateY(-50%); width: 380px; mix-blend-mode: plus-lighter; }
.about .block + .block { margin-top: 2.2em; }
.about h2, .block h2 { font-size: 13px; color: var(--accent); margin: 0 0 1em; font-weight: 400; }
.about p { text-align: justify; margin: 0 0 1em; }
.about ul { list-style: inside; padding: 0; margin: 0; }
.about a, .block > a { display: block; text-decoration: underline; text-underline-offset: 3px; margin: 4px 0; transition: opacity .3s; }
.about a:hover, .block > a:hover { opacity: .7; }

/* ---------- Dock (bottom nav) ---------- */
.dock {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line);
  background: rgba(8, 8, 10, .62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: 999px; pointer-events: auto; max-width: calc(100vw - 32px);
}
.dock-track { position: relative; display: flex; }
.dock-track a { position: relative; z-index: 1; padding: 9px 14px; font-size: 11px; text-decoration: none; color: #bdbdbd; white-space: nowrap; transition: color .3s; border-radius: 999px; }
.dock-track a em { font-style: normal; color: var(--muted); margin-right: 6px; font-size: 10px; transition: color .3s; }
.dock-track a:hover, .dock-track a.on { color: #000; }
.dock-track a:hover:not(.on) { color: #fff; }
.dock-track a.on em { color: #4a3a7a; }
.dock-ind { position: absolute; left: 0; top: 0; bottom: 0; background: #e6e6e6; border-radius: 999px; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; z-index: 0; }
.dock-menu { padding: 9px 14px; font-size: 11px; border-left: 1px solid var(--line); margin-left: 2px; color: #fff; display: flex; gap: 8px; align-items: center; }
.dock-menu:hover { color: var(--accent); }

/* ---------- Inner pages ---------- */
.page {
  position: absolute; inset: 92px 0 86px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
  text-transform: none; font-size: 14px; line-height: 1.55;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.page.in { opacity: 1; transform: none; }
body.is-home .page { display: none; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 8px 24px 40px; }

.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 6px 0 22px; flex-wrap: wrap; }
.pg-head h1 { font-size: clamp(30px, 4.6vw, 64px); line-height: 1; margin: 0; font-weight: 400; color: #fff; text-transform: uppercase; letter-spacing: -0.01em; }
.pg-head h1 em { font-style: normal; color: var(--accent); }
.pg-head .kicker { color: var(--accent); font-size: 12px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.pg-head p { max-width: 520px; color: #bdbdbd; margin: 0; font-size: 15px; }

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  padding: 20px;
}
.panel > h3, .panel-h { font-size: 12px; color: var(--accent); text-transform: uppercase; font-weight: 400; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-h .muted, .muted { color: var(--muted); }
.muted-p { color: #a9a9a9; margin: 0 0 14px; }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-bridge { grid-template-columns: minmax(360px, 520px) 1fr; align-items: start; }
.g-main-side { grid-template-columns: 1fr 380px; align-items: start; }
.mt { margin-top: 14px; }

/* stat boxes */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; background: rgba(10, 10, 13, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.stat { padding: 16px 18px; min-height: 96px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.stat .k { font-size: 11px; color: var(--muted); text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }
.stat .v { font-size: clamp(20px, 2vw, 28px); color: #fff; margin-top: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 4px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); display: inline-block; animation: pulse 1.6s infinite; align-self: center; }
@keyframes pulse { 50% { opacity: .3; } }

.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.acc { color: var(--accent); }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 400; color: var(--muted); font-size: 11px; text-transform: uppercase; padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .03); }
.tbl-wrap { overflow-x: auto; margin: 0 -10px; }
.tbl tr.new { animation: rowIn .8s var(--ease); }
@keyframes rowIn { from { background: rgba(170, 136, 255, .18); } }

.pill { display: inline-block; font-size: 10px; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: #cfcfcf; }
.pill.live, .pill.complete, .pill.active { border-color: rgba(170, 136, 255, .5); color: var(--accent); }
.pill.pending, .pill.beta, .pill.upcoming { border-color: #4a4a4a; color: #e2e2e2; }
.pill.graduated { background: #e6e6e6; color: #000; border-color: #e6e6e6; }
.pill.jailed { border-color: rgba(255, 143, 159, .5); color: var(--down); }

/* buttons & fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 3px;
  background: #e6e6e6; color: #000; text-transform: uppercase; font-size: 12px; text-decoration: none; transition: background .25s, color .25s, opacity .25s;
}
.btn:hover { background: var(--accent); color: #000; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: #fff; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.wide { width: 100%; height: 52px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.field { display: block; margin-bottom: 12px; }
.field > span { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.input, .field input, .field textarea, .field select {
  width: 100%; background: rgba(0, 0, 0, .5); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; outline: none; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; padding: 3px; gap: 3px; background: rgba(0, 0, 0, .4); flex-wrap: wrap; }
.tabs button { padding: 7px 12px; font-size: 11px; text-transform: uppercase; color: #bdbdbd; border-radius: 2px; transition: background .25s, color .25s; }
.tabs button.on { background: #e6e6e6; color: #000; }
.tabs button:hover:not(.on) { color: #fff; }

.mono {
  --h: 270; width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-grid; place-items: center;
  font-size: 12px; color: #fff; object-fit: cover;
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 70% 72%), hsl(var(--h) 45% 26%) 70%);
  border: 1px solid rgba(255, 255, 255, .12);
}
.mono.lg { width: 56px; height: 56px; font-size: 16px; }
.ident { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ident b { font-weight: 400; color: #fff; display: block; overflow: hidden; text-overflow: ellipsis; }
.ident small { color: var(--muted); font-size: 12px; }

.progress { height: 4px; background: #1e1e22; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #6f55c9, var(--accent)); border-radius: 2px; transition: width .8s var(--ease); }

.chart { width: 100%; height: 180px; display: block; }
.chart.sm { height: 120px; }
.chart.xs { height: 46px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: #fff; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.copy { text-decoration: underline dotted; text-underline-offset: 3px; text-transform: none; }
.copy:hover { color: var(--accent); }

.skeleton { display: grid; gap: 10px; }
.skeleton i { display: block; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #141418 0%, #22222a 50%, #141418 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
.skeleton i:nth-child(2n) { width: 70%; }
@keyframes sk { to { background-position: -200% 0; } }
.err-box { border: 1px dashed rgba(255, 143, 159, .4); color: var(--down); padding: 14px; border-radius: 3px; font-size: 13px; }
.empty-state { color: var(--muted); padding: 28px 0; text-align: center; }

/* ---------- Bridge ---------- */
.bridge-card .dir { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.chain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.chain-opt { border: 1px solid var(--line); border-radius: 3px; padding: 10px; text-align: left; font-size: 12px; text-transform: uppercase; transition: border-color .25s, background .25s; display: flex; flex-direction: column; gap: 2px; }
.chain-opt small { color: var(--muted); font-size: 10px; }
.chain-opt:hover { border-color: #555; }
.chain-opt.on { border-color: var(--accent); background: rgba(170, 136, 255, .08); }
.amount-box { border: 1px solid var(--line); border-radius: 3px; padding: 14px; background: rgba(0, 0, 0, .45); transition: border-color .25s; }
.amount-box:focus-within { border-color: var(--accent); }
.amount-box .top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.amount-box .mid { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.amount-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 30px; color: #fff; padding: 0; }
.amount-box select { background: #141418; border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; text-transform: uppercase; outline: none; }
.amount-box .usd { font-size: 12px; color: var(--muted); margin-top: 4px; }
.max-btn { font-size: 10px; border: 1px solid var(--line); padding: 3px 7px; border-radius: 2px; color: var(--accent); }
.swap-mid { display: flex; justify-content: center; margin: -6px 0; position: relative; z-index: 1; }
.swap-mid span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel-solid); border-radius: 50%; color: var(--accent); }
.receive .mid .val { font-size: 30px; color: #fff; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.receive .tok { padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: #141418; }
.route { display: grid; gap: 8px; margin: 16px 0; font-size: 13px; }
.route div { display: flex; justify-content: space-between; gap: 10px; }
.route dt { color: var(--muted); }
.route-path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; text-transform: uppercase; color: #cfcfcf; }
.route-path i { width: 18px; height: 1px; background: var(--accent); display: inline-block; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.steps li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.steps li::before { counter-increment: s; content: "0" counter(s); color: var(--accent); font-size: 12px; padding-top: 2px; }
.steps b { font-weight: 400; color: #fff; display: block; text-transform: uppercase; font-size: 12px; margin-bottom: 2px; }
.steps p { margin: 0; color: #a9a9a9; font-size: 13px; }
ol.steps { padding: 0; margin: 0; }

/* ---------- Launchpad ---------- */
.lp-tools { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tok-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tok-card { text-align: left; display: block; width: 100%; transition: border-color .3s, transform .3s var(--ease); text-transform: none; }
.tok-card:hover { border-color: rgba(170, 136, 255, .55); transform: translateY(-2px); }
.tok-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tok-card .figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 12px; font-size: 13px; }
.tok-card .figs small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; margin-bottom: 2px; }
.tok-card .foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; text-transform: uppercase; }
.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.featured h2 { font-size: clamp(28px, 3vw, 44px); margin: 10px 0; font-weight: 400; color: #fff; }
.img-drop { display: flex; align-items: center; gap: 14px; border: 1px dashed #3a3a3a; border-radius: 3px; padding: 12px; cursor: pointer; transition: border-color .25s; }
.img-drop:hover { border-color: var(--accent); }
.img-drop .prev { width: 56px; height: 56px; border-radius: 50%; background: #141418 center/cover; border: 1px solid var(--line); flex: none; }
.img-drop input { display: none; }
.trade-box .tabs { width: 100%; }
.trade-box .tabs button { flex: 1; }
.quick { display: flex; gap: 6px; margin: 8px 0 14px; }
.quick button { flex: 1; border: 1px solid var(--line); padding: 6px 0; font-size: 11px; border-radius: 2px; }
.quick button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.eco-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: border-color .3s, transform .3s var(--ease); min-height: 200px; }
.eco-card:hover { border-color: rgba(170, 136, 255, .55); transform: translateY(-2px); }
.eco-card p { margin: 0; color: #b5b5b5; font-size: 13px; flex: 1; }
.eco-card .foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.eco-card .foot b { color: #fff; font-weight: 400; }
.eco-feature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eco-feature a { position: relative; height: 200px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; display: block; }
.eco-feature video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .4s, transform 1.2s var(--ease); }
.eco-feature a:hover video { opacity: 1; transform: scale(1.04); }
.eco-feature span { position: absolute; left: 12px; bottom: 10px; right: 12px; font-size: 12px; text-transform: uppercase; color: #fff; white-space: pre-line; text-shadow: 0 1px 8px #000; }
.search { min-width: 240px; }

/* ---------- Portfolio ---------- */
.connect-hero { text-align: center; padding: 60px 24px; }
.connect-hero h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 400; color: #fff; margin: 0 0 12px; text-transform: uppercase; }
.connect-hero p { color: #a9a9a9; max-width: 460px; margin: 0 auto 24px; }
.lookup { display: flex; gap: 8px; max-width: 560px; margin: 18px auto 0; }
.lookup .input { flex: 1; }
.networth .v { font-size: clamp(34px, 4vw, 56px); color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Stats ---------- */
.block-feed .tbl td:first-child { color: var(--accent); }
.mini-bars { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.mini-bars i { width: 3px; background: var(--accent); opacity: .7; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 50; color: #fff; transition: opacity 1s var(--ease); background: radial-gradient(70% 70% at 50% 50%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%); }
.intro.leaving { opacity: 0; pointer-events: none; }
.intro-log { position: absolute; top: 24px; left: 24px; font-size: 11px; color: var(--muted); line-height: 1.8; white-space: pre; }
.intro-log div:first-child { color: var(--accent); }
.intro-meta { position: absolute; top: 24px; right: 24px; font-size: 11px; color: var(--muted); }
.intro-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: min(92vw, 720px); }
.intro-title {
  font-size: clamp(56px, 12vw, 150px); line-height: 1.1; letter-spacing: 0.08em; margin-right: -0.08em; padding: 0 .1em;
  opacity: 0; transition: opacity .6s;
  color: #9d78ff;
  background: linear-gradient(105deg, #6e4cf0 0%, #9d78ff 22%, #c9b4ff 34%, #9d78ff 46%, #7a58f5 62%, #b597ff 78%, #6e4cf0 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: url(#oil) drop-shadow(0 0 2px rgba(0, 0, 0, .95)) drop-shadow(0 0 22px rgba(0, 0, 0, .75));
  animation: oilSheen 9s ease-in-out infinite alternate;
}
@keyframes oilSheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.intro-title.in { opacity: 1; }
.intro-tag { margin-top: 18px; font-size: 12px; color: #fff; text-shadow: 0 0 2px #000, 0 0 8px #000, 0 0 16px rgba(0, 0, 0, .9); opacity: 0; transition: opacity .6s; min-height: 1.4em; }
.intro-tag.in { opacity: 1; }
.enter-btn {
  margin-top: 40px; position: relative; height: 56px; padding: 0 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  font-size: 13px; color: #fff; opacity: 0; transform: translateY(10px); pointer-events: none; overflow: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s, color .3s; background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.enter-btn::before { content: ""; position: absolute; inset: 0; background: #e6e6e6; transform: translateY(101%); transition: transform .45s var(--ease); }
.enter-btn span { position: relative; }
.enter-btn:hover, .enter-btn:focus-visible { color: #000; border-color: #e6e6e6; outline: none; }
.enter-btn:hover::before, .enter-btn:focus-visible::before { transform: none; }
.intro.ready .enter-btn { opacity: 1; transform: none; pointer-events: auto; }
.intro-hint { margin-top: 14px; font-size: 10px; color: #bdbdbd; text-shadow: 0 0 6px #000; opacity: 0; transition: opacity .8s .3s; }
.intro.ready .intro-hint { opacity: 1; }
.intro-bar { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--muted); transition: opacity .6s; }
.intro.ready .intro-bar { opacity: 0; }
.intro-bar .track { flex: 1; height: 1px; background: #222; }
.intro-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease), visibility 0s; }
.menu-close { position: absolute; top: 24px; right: 24px; height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 22px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.menu-close:hover { border-color: var(--accent); }
.menu-grid { position: absolute; inset: 100px 24px 40px; max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font-size: clamp(34px, 6.4vh, 72px); line-height: 1.1; color: #fff; transform: translateY(16px); opacity: 0; transition: color .3s, transform .6s var(--ease), opacity .6s; }
.menu.open .menu-nav a { transform: none; opacity: 1; }
.menu-nav a:nth-child(2) { transition-delay: .04s; } .menu-nav a:nth-child(3) { transition-delay: .08s; } .menu-nav a:nth-child(4) { transition-delay: .12s; } .menu-nav a:nth-child(5) { transition-delay: .16s; } .menu-nav a:nth-child(6) { transition-delay: .2s; }
.menu-nav a em { font-style: normal; font-size: 12px; color: var(--accent); }
.menu-nav a:hover span { color: var(--accent); }
.menu-side .block + .block { margin-top: 2.2em; }
.menu-side .btn { margin-top: 4px; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s, visibility 0s; }
.modal-card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; position: relative; text-transform: none; font-size: 14px; background: rgba(12, 12, 16, .88); }
.modal-card.wide { width: min(1040px, 100%); }
.modal-card h3 { font-size: 13px; color: var(--accent); font-weight: 400; margin: 0 0 14px; text-transform: uppercase; }
.modal-card .x { position: absolute; top: 12px; right: 14px; font-size: 22px; color: var(--muted); line-height: 1; }
.modal-card .x:hover { color: #fff; }
.wallet-list { display: grid; gap: 8px; }
.wallet-list a { display: flex; justify-content: space-between; border: 1px solid var(--line); padding: 14px; border-radius: 3px; text-decoration: none; text-transform: uppercase; font-size: 12px; }
.wallet-list a:hover { border-color: var(--accent); color: var(--accent); }
.addr-big { word-break: break-all; color: #fff; margin: 0 0 18px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); z-index: 60; background: #e6e6e6; color: #000; padding: 10px 16px; border-radius: 3px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--down); }

/* ---------- Cursor ---------- */
body.has-cursor, body.has-cursor * { cursor: none !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .3s; }
.cursor.vis { opacity: 1; }
.cursor .dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transform: translate(var(--x), var(--y)); mix-blend-mode: difference; }
.cursor .ring { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); transform: translate(var(--rx), var(--ry)) scale(1); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background .3s; }
.cursor.hover .ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--accent); background: rgba(170, 136, 255, .08); }
.cursor.down .ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  body:not(.is-home) .sidenav { display: none; }
  body:not(.is-home) .page { left: 0; }
  .about { right: 24px; width: 320px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-bridge, .g-main-side, .featured { grid-template-columns: 1fr; }
  .eco-feature { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; align-content: center; overflow-y: auto; }
}
@media (max-width: 760px) {
  .list, .tags, .sidenav { display: none; }
  .about { left: 24px; right: 24px; bottom: 92px; top: auto; transform: none; width: auto; }
  .about p { text-align: left; }
  .about .block + .block { margin-top: 1.4em; }
  .brand .sub { display: none; }
  .wallet-btn { padding: 0 14px; }
  .dock { left: 12px; right: 12px; transform: none; bottom: 14px; max-width: none; border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
  .dock::-webkit-scrollbar { display: none; }
  .dock-track a { padding: 9px 10px; }
  .dock-track a em { display: none; }
  .page { inset: 84px 0 76px; }
  .wrap { padding: 4px 14px 30px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .eco-feature { grid-template-columns: 1fr 1fr; }
  .eco-feature a { height: 130px; }
  .chain-grid { grid-template-columns: repeat(2, 1fr); }
  .lookup { flex-direction: column; }
  .intro-log { font-size: 10px; }
  .menu-nav a { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
