/* FLOATX: deep navy, one blue, Geist. */
:root {
  --bg: #020713; --bg2: #040c1d; --card: #09172e; --card-hover: #0e2040; --well: #050f22;
  --border: #16294a; --border2: #213a63; --accent: #3d8bff; --accent2: #2f74e6; --glow: rgba(61, 139, 255, .45);
  --text: #e8eefc; --muted: #8d9cba; --faint: #51617f; --good: #6ee7a0; --bad: #ff7a85; --warn: #f6c35b;
  --r: 18px; --r-sm: 12px;
  --sans: Geist, "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--border2) var(--bg); }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1100px 620px at 50% -180px, rgba(36, 86, 170, .28), transparent 70%);
  background-repeat: no-repeat; padding-bottom: 120px; overflow-x: hidden;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2d4c80; }
::selection { background: rgba(61, 139, 255, .35); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------ header */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 16px; max-width: 1152px; margin: 0 auto; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: .12em; }
.brand .mk { width: 28px; height: 28px; object-fit: contain; }
.hdr-r { display: flex; align-items: center; gap: 8px; }
.hdr-r .lnk { padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s; }
.hdr-r .lnk:hover { color: var(--text); }
.chain { display: none; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--card); border-radius: 99px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.chain i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px rgba(110, 231, 160, .7); }
@media (min-width: 640px) { .chain { display: flex; } }
.wbtn { font-family: var(--mono); font-size: 13px; font-weight: 600; border: 1px solid var(--border2); background: rgba(9, 23, 46, .6); border-radius: 99px; padding: 9px 15px; display: flex; align-items: center; gap: 8px; transition: border-color .15s, background .15s; }
.wbtn:hover { border-color: var(--accent); background: var(--card); }
.wbtn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.wmenu { position: absolute; right: 16px; top: 66px; background: var(--card); border: 1px solid var(--border2); border-radius: 14px; padding: 6px; min-width: 190px; display: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.wmenu.open { display: block; }
.wmenu a, .wmenu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.wmenu a:hover, .wmenu button:hover { background: var(--card-hover); }

/* ------------------------------------------------------------ dock */
.dock { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; gap: 4px; padding: 6px; border-radius: 20px;
  background: rgba(5, 13, 30, .82); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.dock a { width: 56px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--muted); position: relative; transition: color .15s, background .15s; }
.dock a:hover { color: var(--text); }
.dock a.plus { background: #10264a; color: var(--text); }
.dock a.plus:hover { background: #163262; }
.dock a.on { color: var(--text); }
.dock a.on::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border2); background: var(--card); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--card-hover); border-color: #2d4c80; }
.btn.blue { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 0 var(--glow); }
.btn.blue:hover { background: #4f97ff; box-shadow: 0 8px 30px -6px var(--glow); }
.btn.blue:disabled { background: #1c3a6b; border-color: #1c3a6b; color: #9db4dc; box-shadow: none; cursor: default; }
.btn.pill { border-radius: 99px; }
.btn.big { height: 48px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy { background: none; border: 0; padding: 2px; color: var(--faint); display: inline-grid; place-items: center; vertical-align: middle; }
.copy:hover { color: var(--text); }
.copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ------------------------------------------------------------ home */
.hero { min-height: calc(100vh - 190px); min-height: calc(100svh - 190px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 16px 0; position: relative; }
.glow { position: absolute; left: 50%; top: 40%; width: 760px; height: 760px; max-width: 160vw; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(28, 72, 150, .55), rgba(10, 30, 70, .35) 45%, transparent 72%); filter: blur(6px); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .85; } }
.word { position: relative; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: clamp(60px, 11.5vw, 168px); line-height: .9; letter-spacing: -.035em; color: #e9eefb; user-select: none; }
.word .o { position: relative; display: inline-grid; place-items: center; width: .86em; height: .86em; margin: 0 .03em; }
.word .o img { width: 100%; height: 100%; object-fit: contain; animation: bob 5.5s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(61, 139, 255, .35)); }
.word .o:has(.ol) { width: auto; height: auto; margin: 0; }
.word .o .ol { display: inline-block; animation: bob 5.5s ease-in-out infinite; }
.word .x { position: relative; color: var(--accent); text-shadow: 0 0 60px rgba(61, 139, 255, .45); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-.06em) rotate(3deg); } }

/* ten logos floating on a line under the wordmark */
.buoys { position: relative; width: min(760px, 100%); height: 80px; margin: 4px auto 0; }
.buoys svg.water { position: absolute; left: 0; right: 0; top: 46px; width: 100%; height: 40px; overflow: visible; }
.buoys svg.water path { fill: none; stroke-width: 1.5; }
.buoy { position: absolute; top: 18px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: #0b1b36; border: 1px solid var(--border2); display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), 0 0 0 4px rgba(2, 7, 19, .9); will-change: transform; opacity: 0; transition: opacity .6s; }
.buoy.in { opacity: 1; }
.buoy img { width: 100%; height: 100%; object-fit: cover; }
.buoy b { font-size: 10px; letter-spacing: .02em; }
.lede { margin: 18px 0 0; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; max-width: 780px; text-wrap: balance; }
.lede2 { margin: 12px 0 0; text-wrap: balance; color: var(--muted); font-size: 15px; max-width: 520px; }
.cta { margin-top: 26px; width: min(320px, 100%); }
.cachip { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: rgba(9, 23, 46, .6); border-radius: 99px; padding: 5px 6px 5px 12px; font-size: 13px; }
.cachip b { font-weight: 800; }
.cachip .mono { color: var(--muted); font-size: 12px; }
.cachip a { background: #10264a; border-radius: 99px; padding: 4px 11px; font-weight: 600; font-size: 12px; }
.foot { display: flex; justify-content: center; gap: 12px; padding: 40px 16px 0; font-size: 12px; color: var(--faint); }
.foot a:hover { color: var(--text); }

/* ------------------------------------------------------------ page heads */
.ph { padding: 8px 0 22px; }
.ph h1 { margin: 0; font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -.02em; line-height: 1.15; }
.ph p { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 720px; }

/* ------------------------------------------------------------ cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); }
.sec { padding: 20px; margin-bottom: 20px; }
.sec-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.num { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--border2); display: grid; place-items: center; font-size: 12px; color: var(--muted); margin-top: 1px; transition: background .2s, border-color .2s, color .2s; }
.sec.done .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.sec-h h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.sec-h p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.sec-h .cnt { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.sec-h .cnt.full { color: var(--text); border-color: var(--accent); }

/* inputs */
.inp, .ta { width: 100%; background: var(--well); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp::placeholder, .ta::placeholder { color: var(--faint); }
.inp:focus, .ta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 139, 255, .15); }
.ta { resize: vertical; min-height: 86px; }
.lbl { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.lbl.sub { font-weight: 400; color: var(--faint); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.cap { text-align: right; font-size: 11px; color: var(--faint); margin-top: 4px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chips button { border: 1px solid var(--border); background: transparent; border-radius: 99px; padding: 5px 13px; font-size: 12px; font-weight: 600; color: var(--muted); transition: all .15s; }
.chips button:hover { color: var(--text); border-color: var(--border2); }
.chips button.on { background: #10264a; border-color: #10264a; color: var(--text); }
.chips button span { color: var(--faint); font-weight: 500; margin-left: 3px; }

/* asset list (pair + payouts) */
.alist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 290px; overflow-y: auto; padding-right: 4px; -webkit-mask: linear-gradient(#000 calc(100% - 26px), transparent); mask: linear-gradient(#000 calc(100% - 26px), transparent); padding-bottom: 22px; }
@media (max-width: 640px) { .alist { grid-template-columns: 1fr; } }
.arow { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--border); background: transparent; border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s, background .15s; min-width: 0; position: relative; }
.arow:hover { background: var(--card-hover); border-color: var(--border2); }
.arow.on { border-color: var(--accent); background: rgba(61, 139, 255, .09); }
.arow .t { min-width: 0; flex: 1; }
.arow .t b { font-size: 14px; }
.arow .t .k { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-left: 6px; font-weight: 500; }
.arow .t span.n { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arow .ck { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--border2); flex: none; display: grid; place-items: center; transition: all .15s; }
.arow.on .ck { background: var(--accent); border-color: var(--accent); }
.arow.on .ck::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.arow .ord { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font: 600 11px/20px var(--mono); text-align: center; }
.alogo { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #0f2242; object-fit: cover; }
.alogo.sm { width: 22px; height: 22px; }
.alogo.xs { width: 18px; height: 18px; }
.alist .empty { grid-column: 1 / -1; padding: 22px; text-align: center; color: var(--muted); font-size: 13px; }
.more { display: flex; justify-content: center; margin-top: 4px; }

/* the ten payout slots */
.slots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 14px; }
.slot { aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--border2); display: grid; place-items: center; position: relative; background: var(--well); }
.slot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.slot.f { border: 1px solid var(--accent); animation: pop .35s cubic-bezier(.22, 1, .36, 1); cursor: pointer; }
.slot.f:hover::after { content: "×"; position: absolute; inset: 0; border-radius: 50%; background: rgba(2, 7, 19, .7); display: grid; place-items: center; font-size: 16px; }
.slot span { font-size: 10px; color: var(--faint); font-family: var(--mono); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.slotrow { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; flex-wrap: wrap; }

/* image drop */
.drop { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--border2); border-radius: var(--r-sm); padding: 12px 16px; background: var(--well); cursor: pointer; transition: border-color .15s; color: var(--faint); font-size: 14px; }
.drop:hover, .drop.over { border-color: var(--accent); }
.drop img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }

/* create layout */
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .cgrid { grid-template-columns: 1fr; } }
.review { position: sticky; top: 20px; padding: 20px; }
.review .eye { font-size: 11px; letter-spacing: .2em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.rtok { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 18px; background: var(--well); }
.rtok .im { width: 44px; height: 44px; border-radius: 50%; background: #10264a center/cover; display: grid; place-items: center; color: var(--muted); font-weight: 700; flex: none; }
.rtok b { display: block; font-size: 16px; }
.rtok span { font-size: 13px; color: var(--muted); }
.rrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.rrow b { color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 6px; text-align: right; }
.rrow b.g { color: var(--good); }
.stack { display: flex; }
.stack .alogo { margin-left: -6px; border: 2px solid var(--card); }
.stack .alogo:first-child { margin-left: 0; }
.msg { display: none; margin-top: 14px; border: 1px solid rgba(255, 122, 133, .35); background: rgba(255, 122, 133, .08); color: #ffb3ba; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.msg.on { display: block; }
.steps { margin-top: 14px; display: grid; gap: 8px; font-size: 13px; color: var(--faint); }
.steps div { display: flex; align-items: center; gap: 10px; }
.steps i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.steps .on { color: var(--text); }
.steps .on i { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps .ok { color: var(--good); }
.steps .ok i { background: var(--good); border-color: var(--good); }
.steps .bad { color: var(--bad); }
@keyframes spin { to { transform: rotate(360deg); } }
.review .go { margin-top: 18px; }
.okbox { margin-top: 14px; border: 1px solid rgba(110, 231, 160, .35); background: rgba(110, 231, 160, .07); border-radius: 12px; padding: 14px; font-size: 14px; }
.okbox .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.quick { display: flex; gap: 8px; margin-top: 10px; }
.quick button { border: 1px solid var(--border); background: transparent; border-radius: 99px; padding: 5px 13px; font: 600 12px var(--mono); color: var(--muted); }
.quick button:hover { color: var(--text); border-color: var(--border2); }
.sfx { position: relative; }
.sfx .inp { padding-right: 60px; }
.sfx span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ tokens */
.banner { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid #1b3561; padding: 44px 32px; margin-bottom: 24px;
  background: linear-gradient(115deg, #0a1d3d 0%, #0c2550 55%, #12357a 100%); min-height: 250px; }
.banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask: linear-gradient(90deg, transparent 30%, #000); mask: linear-gradient(90deg, transparent 30%, #000); }
.banner .bt { position: relative; z-index: 2; max-width: 520px; }
.banner h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.15; }
.banner p { margin: 12px 0 22px; color: #b5c4e2; font-size: 14px; }
.banner svg.line { position: absolute; right: 0; top: 0; width: 62%; height: 100%; z-index: 1; overflow: visible; }
.bl { position: absolute; z-index: 2; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .15); background: #0b1b36; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: transform .3s; }
.bl img { width: 100%; height: 100%; object-fit: cover; }
.bl.end { width: 50px; height: 50px; margin: -25px 0 0 -25px; border-color: var(--accent); box-shadow: 0 0 0 6px rgba(61, 139, 255, .25), 0 0 40px rgba(61, 139, 255, .6); background: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff; }
@media (max-width: 760px) { .banner svg.line, .bl { opacity: .35; } .banner { padding: 30px 20px; } }
.tbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.tbar .srch { flex: 1 1 280px; position: relative; }
.tbar .srch .inp { border-radius: 99px; padding-right: 44px; background: transparent; }
.tbar .srch svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.seg { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 99px; padding: 4px; }
.seg .l { padding: 0 8px 0 10px; color: var(--muted); font-size: 14px; }
.seg button { border: 0; background: none; padding: 7px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; color: #c4d0ea; }
.seg button.on { background: #10264a; color: #fff; }
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tabs button { background: none; border: 0; padding: 0 0 10px; font-weight: 600; font-size: 14px; color: var(--muted); position: relative; }
.tabs button.on { color: var(--text); }
.tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.tc { position: relative; overflow: hidden; padding: 20px; min-height: 176px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, background .2s; }
.tc:hover { border-color: #2a4a80; background: #0b1a34; transform: translateY(-2px); }
.tc .ci { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #10264a; position: relative; z-index: 2; }
.tc .tk { margin-top: auto; padding-top: 18px; font-size: 12px; font-weight: 700; color: #c7d3ec; position: relative; z-index: 2; }
.tc .mc { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; position: relative; z-index: 2; }
.tc .an { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 6px; position: relative; z-index: 2; }
.tc .an b { color: var(--text); font-weight: 700; }
.tc .orb { position: absolute; right: -24px; top: 12px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--border); overflow: hidden; opacity: .55; }
.tc .orb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); -webkit-mask: radial-gradient(circle at 70% 50%, #000 40%, transparent 72%); mask: radial-gradient(circle at 70% 50%, #000 40%, transparent 72%); }
.tc .pays { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tc .pays small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tc .pays .stack .alogo { border-color: var(--card); }
.tc:hover .pays .stack .alogo { border-color: #0b1a34; }
.badge { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 11px; font-weight: 600; color: #9cc2ff; border: 1px solid #23457e; background: rgba(9, 23, 46, .85); border-radius: 99px; padding: 2px 10px; }
.badge.g { color: var(--good); border-color: rgba(110, 231, 160, .3); }
.emptyc { padding: 50px 20px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.emptyc b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.emptyc .btn { margin-top: 18px; }

/* ------------------------------------------------------------ coin page */
.chd { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.chd .cimg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #10264a; }
.chd h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.chd .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 4px; }
.chd .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pillg { font-size: 11px; font-weight: 600; border-radius: 99px; padding: 2px 9px; border: 1px solid rgba(110, 231, 160, .3); color: var(--good); }
.pillw { font-size: 11px; font-weight: 600; border-radius: 99px; padding: 2px 9px; border: 1px solid rgba(246, 195, 91, .35); color: var(--warn); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 18px; }
.tile .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tile .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.15; }
.tile .s { font-size: 12px; color: var(--muted); margin-top: 4px; }
.tile.hl .v { color: var(--good); }
.tile.big { grid-column: span 2; }
.rot { padding: 18px; margin-bottom: 12px; }
.rot .row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ap { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 99px; padding: 4px 11px 4px 5px; font-size: 13px; font-weight: 600; }
.ap.next { border-color: var(--accent); background: rgba(61, 139, 255, .1); }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.panel { padding: 18px; min-width: 0; }
.panel h3 { margin: 0 0 12px; font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.panel h3 small { font-weight: 400; color: var(--faint); font-size: 12px; }
.ev { display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; align-items: baseline; }
.ev:first-of-type { border-top: 0; }
.ev .k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ev .k.pay { color: var(--good); }
.ev .k.bad { color: var(--warn); }
.ev .amt { font-family: var(--mono); font-size: 12px; text-align: right; }
.ev .t { grid-column: 2 / -1; font-size: 11px; color: var(--faint); }
.ev .t a { color: var(--muted); font-family: var(--mono); }
.ev .t a:hover { color: var(--accent); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 6px; border-bottom: 1px solid var(--border); }
.tbl td { padding: 9px 6px; border-bottom: 1px solid var(--border); }
.tbl .r { text-align: right; font-family: var(--mono); font-size: 12px; }
.tbl a { font-family: var(--mono); }
.tbl a:hover { color: var(--accent); }
.empty { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 13px; }
.empty b { display: block; color: var(--text); margin-bottom: 4px; font-size: 14px; }

/* ------------------------------------------------------------ analytics */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--border); background: none; border-radius: 99px; padding: 3px 11px; font-size: 12px; color: var(--muted); font-weight: 600; }
.filters button.on { background: #10264a; border-color: #10264a; color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); margin-top: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts div { padding: 14px 0 0; }
.facts span { display: block; font-size: 12px; color: var(--muted); }
.facts b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.chk { padding: 18px; margin-top: 12px; }
.chk form { display: flex; gap: 8px; margin-top: 12px; }
.chk .out .row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; margin-top: 10px; }
.chk .out .row b.mono { font-size: 12px; }

/* ------------------------------------------------------------ docs */
.doc { max-width: 640px; margin: 0 auto; }
.doc h1 { margin: 12px 0 6px; font-size: 32px; letter-spacing: -.02em; }
.doc > p.in { color: var(--muted); margin: 0 0 20px; }
.doc nav.chips a { border: 1px solid var(--border2); border-radius: 99px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: #c4d0ea; background: var(--card); }
.doc nav.chips a:hover { border-color: var(--accent); }
.doc h2 { margin: 48px 0 14px; font-size: 21px; letter-spacing: -.01em; scroll-margin-top: 20px; }
.doc p, .doc li { color: #b9c6e0; font-size: 15px; line-height: 1.6; }
.doc p b, .doc li b { color: var(--text); }
.doc a.u { color: var(--accent); }
.doc ul { padding-left: 20px; }
.split { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin: 16px 0; background: var(--card); }
.split > div { display: grid; grid-template-columns: 72px 1fr; gap: 0 10px; padding: 14px 16px; border-top: 1px solid var(--border); }
.split > div:first-child { border-top: 0; }
.split .p { font-size: 20px; font-weight: 800; }
.split b { display: block; font-size: 15px; }
.split span { font-size: 13px; color: var(--muted); }
.ctbl { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.ctbl td { border-top: 1px solid var(--border); padding: 9px 4px; vertical-align: top; }
.ctbl td:first-child { color: var(--muted); width: 42%; }
.ctbl td.mono { word-break: break-all; font-size: 12px; }

/* ------------------------------------------------------------ wallet dialog + toast */
.wpick { position: fixed; inset: 0; z-index: 60; background: rgba(1, 4, 12, .7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.wpick-in { width: min(400px, 100%); background: var(--card); border: 1px solid var(--border2); border-radius: 20px; padding: 22px; }
.wpick h3 { margin: 0; font-size: 18px; }
.wpick p { margin: 6px 0 16px; font-size: 13px; color: var(--muted); }
.wpick .list { display: grid; gap: 8px; }
.wpick .list button { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); background: var(--well); border-radius: 12px; padding: 12px 14px; font-weight: 600; text-align: left; }
.wpick .list button:hover { border-color: var(--accent); }
.wpick .list button.wait { opacity: .6; }
.wpick .list img { width: 28px; height: 28px; border-radius: 8px; }
.wpick .nw { font-size: 13px; color: var(--muted); }
.wpick .nw a { color: var(--accent); }
.wstatus { margin: 12px 0 0 !important; }
.wstatus.bad { color: #ffb3ba !important; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; z-index: 70; background: #10264a; border: 1px solid var(--border2); border-radius: 99px; padding: 9px 16px; font-size: 13px; transition: all .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------ source */
.src { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .src { grid-template-columns: 1fr; } .flist { position: static !important; } }
.flist { padding: 8px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.flist button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 0; background: none; }
.flist button:hover { background: var(--card-hover); }
.flist button.on { background: #10264a; }
.flist b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.flist span { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.code { padding: 0; overflow: hidden; min-width: 0; }
.code-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 13px; flex-wrap: wrap; }
.code-h .mono { color: var(--muted); word-break: break-all; }
.code pre { margin: 0; padding: 16px 0; overflow: auto; max-height: 76vh; font: 12.5px/1.6 var(--mono); background: var(--well); counter-reset: ln; }
.code pre span { display: block; padding: 0 18px 0 62px; position: relative; white-space: pre; }
.code pre span::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 46px; text-align: right; color: #33476b; }
.code pre em { font-style: normal; }
.code pre .c { color: #5d6f91; }
.code pre .s { color: #6ee7a0; }
.code pre .k { color: #7fb2ff; }
@media (max-width: 560px) { .buoy { width: 30px; height: 30px; margin-left: -15px; top: 24px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45), 0 0 0 3px rgba(2, 7, 19, .9); } }
