:root {
  --bg: #000000; --s1: #0B0B0C; --s2: #131314; --s3: #1B1B1D; --line: #1F1F22; --line2: #2B2B2F;
  --text: #F5F5F4; --muted: #9B9B98; --dim: #5F5F5C;
  --accent: #FFFFFF; --accent-2: #E4E4E2; --accent-ink: #000; --accent-soft: rgba(255, 255, 255, .07);
  --up: #34D399; --down: #F7566A; --gold: #E8B44A;
  --sans: 'Outfit', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; }
.mono { font-family: var(--mono); }
::selection { background: #fff; color: #000; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; margin-right: 18px; }
.brand img { height: 26px; width: auto; mix-blend-mode: screen; }
.top nav { display: flex; gap: 2px; flex: 1; }
.top nav a { padding: 8px 12px; color: var(--muted); font-weight: 500; border-radius: 8px; position: relative; }
.top nav a:hover { color: var(--text); }
.top nav a.on { color: var(--text); }
.top nav a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: #fff; }
.search-btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--s1); color: var(--muted); cursor: pointer; min-width: 170px; }
.search-btn kbd { margin-left: auto; font: 500 10px var(--mono); border: 1px solid var(--line2); border-radius: 5px; padding: 2px 5px; color: var(--dim); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 10px; background: var(--s1); color: var(--muted); }
.icon-btn:hover, .search-btn:hover { color: var(--text); border-color: #3a3a40; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--s2); color: var(--text); font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .08s; }
.btn:hover { background: var(--s3); border-color: #3a3a40; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.accent { background: #fff; border-color: #fff; color: #000; }
.btn.accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.sell { background: var(--down); border-color: var(--down); color: #fff; }
.btn.buy { background: var(--up); border-color: var(--up); color: #04150d; }

main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px 24px 80px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.foot div { display: flex; gap: 12px; align-items: baseline; }
.foot b { color: var(--text); font-size: 15px; letter-spacing: -.03em; }
.foot a { color: var(--muted); margin-left: 8px; }
.foot a:hover { color: var(--text); }

/* hero */
.hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(60% 120% at 0% 50%, #262626 0%, transparent 60%), radial-gradient(60% 120% at 100% 50%, #2e2e2e 0%, transparent 60%), #050505; min-height: 330px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-l { padding: 44px 48px; position: relative; z-index: 2; }
.hero h1 { font-size: 58px; line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 560px; }
.hero h1 { font-size: 64px; font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #fff; text-shadow: -1px 1px 0 #bdbdbd, -2px 2px 0 #8c8c8c, -3px 3px 0 #5c5c5c, -4px 5px 14px rgba(0,0,0,.7); }
.hero p { color: var(--muted); font-size: 16px; max-width: 470px; margin: 18px 0 26px; }
.hero .cta { display: flex; gap: 10px; }
.hero-r { position: relative; }
.hero-r svg.curve { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-r .mark3d { position: absolute; right: 16%; top: 50%; width: 50%; max-width: 400px; transform: translateY(-60%); mix-blend-mode: screen; }
.feature { position: absolute; right: 48px; bottom: 32px; width: 360px; background: rgba(18, 18, 20, .82); backdrop-filter: blur(10px); border: 1px solid var(--line2); border-radius: 16px; padding: 16px 18px; z-index: 2; transition: border-color .15s; }
.feature:hover { border-color: #44444a; }
.feature .fh { display: flex; gap: 12px; align-items: center; }
.feature .fh > img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--s3); }
.feature .fh b { font-size: 16px; letter-spacing: -.02em; }
.feature .fh small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 5px; margin-top: 2px; white-space: nowrap; }
.feature .fb { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line2); margin-top: 14px; padding-top: 12px; }
.feature .fb b { font-size: 22px; letter-spacing: -.03em; }
.feature .fb span { color: var(--muted); font-size: 12px; }

/* stat strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); margin-top: 16px; }
.strip > div { padding: 16px 20px; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.strip b { font: 600 20px var(--mono); letter-spacing: -.02em; }
.strip b.accent { color: var(--accent); }

/* list controls */
.controls { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; }
.field-search { flex: 0 0 380px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--s1); color: var(--dim); }
.field-search input { flex: 1; border: 0; background: none; outline: none; color: var(--text); }
.field-search:focus-within { border-color: #4a4a50; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 4px; color: var(--muted); }
.sort > span { margin-right: 6px; }
.seg button { border: 0; background: none; color: var(--muted); padding: 8px 12px; border-radius: 9px; cursor: pointer; font-weight: 500; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--s3); color: var(--text); }
.chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.chips > span { color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 9px; background: none; color: var(--muted); cursor: pointer; font-weight: 500; }
.chip img { width: 16px; height: 16px; border-radius: 50%; }
.chip:hover { color: var(--text); }
.chip.on { background: #fff; border-color: #fff; color: #000; }
.chips .sep { width: 1px; height: 22px; background: var(--line2); margin: 0 6px; }
h2.section { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 14px; display: flex; align-items: baseline; gap: 10px; }
h2.section small { color: var(--dim); font-weight: 500; font-size: 13px; }

/* coin cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; display: block; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 16px; transition: border-color .15s, background .15s; isolation: isolate; }
.card:hover { border-color: #3a3a40; background: #141416; }
.card .qwm { position: absolute; right: -34px; bottom: -34px; width: 190px; height: 190px; border-radius: 50%; z-index: -1; opacity: .9; }
.card .qwm::before { content: ''; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid var(--line2); }
.card .qwm::after { content: ''; position: absolute; inset: -34px; border-radius: 50%; border: 1px solid var(--line); }
.card .qwm img { width: 100%; height: 100%; border-radius: 50%; filter: saturate(.7) brightness(.55); opacity: .75; mask-image: radial-gradient(circle at 30% 30%, #000 40%, rgba(0,0,0,.35) 75%); }
.card .ct { display: flex; justify-content: space-between; align-items: flex-start; }
.coin-img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--s3); border: 1px solid var(--line2); }
.card .acts { display: flex; gap: 6px; }
.mini-btn { height: 28px; min-width: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(18, 18, 20, .7); color: var(--muted); font: 600 11px var(--mono); cursor: pointer; }
.mini-btn:hover { color: var(--text); }
.card .tk { margin-top: 16px; color: var(--muted); font: 600 13px var(--mono); }
.card .nm { color: var(--muted); font-size: 15px; margin-top: 1px; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .mc { font: 700 34px/1.1 var(--sans); letter-spacing: -.04em; margin-top: 8px; }
.pairline { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; margin-top: 8px; }
.pairline img { width: 18px; height: 18px; border-radius: 50%; }
.pairline b { color: var(--text); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; font: 600 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--s3); color: var(--muted); border: 1px solid var(--line2); }
.badge.stock { color: var(--gold); border-color: rgba(232, 180, 74, .35); background: rgba(232, 180, 74, .08); }
.badge.usd { color: #7DB8FF; border-color: rgba(125, 184, 255, .3); background: rgba(125, 184, 255, .07); }
.badge.owed { color: #fff; border-color: #5a5a5e; background: rgba(255, 255, 255, .06); }
.badge.paid { color: var(--up); border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }
.badge.grad { color: #C9B8FF; border-color: rgba(201, 184, 255, .35); background: rgba(201, 184, 255, .07); }
.card .owe { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; max-width: 64%; }
.card .owe img { width: 20px; height: 20px; border-radius: 50%; }
.card .owe span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .owe b { font-family: var(--mono); font-weight: 600; }
.card .ft { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 500 12px var(--mono); color: var(--muted); max-width: 64%; }
.card .spark { margin-left: auto; width: 84px; height: 26px; }
.up { color: var(--up); } .down { color: var(--down); }
.prog { height: 4px; border-radius: 4px; background: var(--s3); overflow: hidden; margin-top: 10px; max-width: 64%; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, #555, #fff); border-radius: 4px; }
.empty { border: 1px dashed var(--line2); border-radius: 16px; padding: 56px 24px; text-align: center; color: var(--muted); background: var(--s1); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; letter-spacing: -.02em; }
.empty .btn { margin-top: 18px; }
.skel { background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 16px; height: 230px; border: 1px solid var(--line); }
@keyframes sk { to { background-position: -200% 0; } }

/* token page */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin: 4px 0 16px; }
.back:hover { color: var(--text); }
.panel { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.panel-h p { color: var(--muted); font-size: 12px; }
.panel-b { padding: 18px; }
.tkhead { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.tkhead .coin-img { width: 64px; height: 64px; }
.tkhead h1 { font-size: 28px; letter-spacing: -.035em; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tkhead .sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); }
.tkhead .sub img { width: 18px; height: 18px; border-radius: 50%; }
.tkhead .sub b { color: var(--text); font-weight: 600; }
.tkhead .links { margin-left: auto; display: flex; gap: 8px; }
.ca { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border: 1px solid var(--line2); border-radius: 7px; font: 500 12px var(--mono); color: var(--muted); cursor: pointer; background: var(--s2); }
.ca:hover { color: var(--text); }
.kv { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.kv > div { padding: 16px 24px; border-right: 1px solid var(--line); }
.kv > div:last-child { border-right: 0; }
.kv small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.kv b { font: 600 17px var(--mono); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; margin-top: 16px; align-items: start; }
.chart-wrap { height: 470px; position: relative; }
.chart-wrap .none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); text-align: center; padding: 20px; }
.tfbar { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tfbar .seg button { padding: 5px 10px; font: 500 12px var(--mono); }
.trades { width: 100%; border-collapse: collapse; font: 500 12px var(--mono); }
.trades th { text-align: left; color: var(--dim); font-weight: 500; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.trades td { padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.trades tr:last-child td { border-bottom: 0; }
.trades .b { color: var(--up); } .trades .s { color: var(--down); }
.side { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.side button { height: 38px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.side button.on.b { background: var(--up); color: #04150d; }
.side button.on.s { background: var(--down); color: #fff; }
.paywith { display: flex; gap: 6px; margin-bottom: 10px; }
.paywith button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 8px; background: none; color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer; }
.paywith button img { width: 15px; height: 15px; border-radius: 50%; }
.paywith button.on { color: var(--text); border-color: #6a6a6e; background: var(--accent-soft); }
.amount { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); padding: 0 14px; height: 56px; }
.amount:focus-within { border-color: #4a4a50; }
.amount input { flex: 1; border: 0; background: none; outline: none; font: 600 20px var(--mono); min-width: 0; }
.amount span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; }
.amount span img { width: 20px; height: 20px; border-radius: 50%; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.quick button { height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--s2); color: var(--muted); font: 500 12px var(--mono); cursor: pointer; }
.quick button:hover { color: var(--text); }
.out { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 14px 0; min-height: 20px; }
.out b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.rowline { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.rowline:last-child { border-bottom: 0; }
.rowline b { color: var(--text); font-family: var(--mono); font-weight: 600; }
.dev { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.dev img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); }
.dev b { font-weight: 600; }
.dev p { color: var(--muted); font-size: 12px; }
.bigowed { font: 700 30px var(--mono); letter-spacing: -.03em; color: var(--accent); margin: 10px 0 2px; }
.hint { color: var(--dim); font-size: 12px; }
.stack > * + * { margin-top: 16px; }

/* forms (launch) */
.page-h { padding: 20px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page-h h1 { font-size: 30px; letter-spacing: -.035em; font-weight: 700; }
.page-h p { color: var(--muted); max-width: 680px; margin-top: 6px; font-size: 15px; }
.narrow { max-width: 1120px; margin: 0 auto; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.fsec { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.fsec:last-child { border-bottom: 0; }
.fsec > label, .lbl { display: block; font-weight: 600; margin-bottom: 10px; }
.fsec .desc { color: var(--muted); font-size: 13px; margin: -4px 0 12px; }
.input, .textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 11px; background: var(--bg); outline: none; }
.textarea { height: 86px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus { border-color: #4a4a50; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { display: grid; gap: 8px; }
.opt.c3 { grid-template-columns: repeat(3, 1fr); }
.opt.c5 { grid-template-columns: repeat(5, 1fr); }
.opt button { text-align: left; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); cursor: pointer; display: flex; flex-direction: column; gap: 3px; position: relative; }
.opt button:hover { border-color: #44444a; }
.opt button.on { border-color: #fff; background: var(--accent-soft); }
.opt button:disabled { opacity: .4; cursor: not-allowed; }
.opt button b { font-weight: 600; display: flex; align-items: center; gap: 7px; }
.opt button b img { width: 20px; height: 20px; border-radius: 50%; }
.opt button span { color: var(--muted); font-size: 12px; }
.opt button .soon { position: absolute; top: 10px; right: 10px; }
.ghcard { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); }
.ghcard img { width: 46px; height: 46px; border-radius: 50%; }
.ghcard b { font-weight: 600; }
.ghcard p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.ghcard .facts { display: flex; gap: 14px; margin-top: 6px; font: 500 12px var(--mono); color: var(--muted); }
.err { color: var(--down); font-size: 12px; margin-top: 6px; display: block; }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px dashed var(--line2); border-radius: 12px; cursor: pointer; }
.drop:hover { border-color: #4a4a50; }
.drop img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--s3); }
.summary .rowline { padding: 11px 0; }
.summary .notes { padding: 14px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12px; color: var(--muted); }
.summary .notes div { display: flex; gap: 9px; }
.summary .notes svg { flex: none; margin-top: 2px; color: var(--dim); }
.steps { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 6px; font-size: 13px; }
.steps li { color: var(--muted); }
.steps li.on { color: var(--text); }
.steps li.done { color: var(--up); }
.sticky { position: sticky; top: 84px; }

/* claim + how */
.claim-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how3 .panel { padding: 22px; }
.how3 .n { font: 600 12px var(--mono); color: var(--muted); }
.how3 b { display: block; font-size: 18px; letter-spacing: -.02em; margin: 10px 0 6px; }
.how3 p { color: var(--muted); }
.faq { max-width: 780px; margin-top: 32px; }
.faq h3 { font-size: 16px; margin: 24px 0 6px; letter-spacing: -.01em; }
.faq p { color: var(--muted); }

/* palette + toast */
.palette { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); z-index: 60; display: flex; justify-content: center; padding-top: 12vh; }
.palette[hidden] { display: none; }
.pal-box { width: 620px; max-height: 60vh; overflow: auto; background: var(--s1); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pal-box input { width: 100%; height: 56px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--line); background: none; outline: none; font-size: 16px; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 10px 18px; cursor: pointer; }
.pal-item:hover, .pal-item.on { background: var(--s2); }
.pal-item img { width: 32px; height: 32px; border-radius: 50%; }
.pal-item span { color: var(--muted); font-size: 12px; }
.pal-item .r { margin-left: auto; font: 600 13px var(--mono); }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 16px); background: var(--s2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 18px; opacity: 0; pointer-events: none; transition: .2s; max-width: 520px; z-index: 80; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-color: rgba(247, 86, 106, .6); color: #ffc1c9; }

/* docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; max-width: 1060px; margin: 0 auto; padding-top: 16px; }
.docs nav { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; }
.docs nav small { color: var(--dim); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px 10px; }
.docs nav a { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.docs nav a:hover { color: var(--text); background: var(--s1); }
.docs nav a.on { color: var(--text); background: var(--s2); }
.doc h1 { font-size: 34px; letter-spacing: -.04em; font-weight: 700; }
.doc .lead { color: var(--muted); font-size: 16px; margin: 8px 0 8px; }
.doc section { padding: 34px 0 6px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: 22px; letter-spacing: -.03em; font-weight: 700; margin-bottom: 12px; }
.doc h3 { font-size: 15px; font-weight: 600; margin: 20px 0 6px; }
.doc p, .doc li { color: #c9c8c3; line-height: 1.65; }
.doc p + p { margin-top: 10px; }
.doc ol, .doc ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.doc b { color: var(--text); font-weight: 600; }
.doc code { font: 500 12.5px var(--mono); background: var(--s2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); word-break: break-all; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc th { text-align: left; color: var(--muted); font-weight: 500; background: var(--s1); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.doc td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: #c9c8c3; }
.doc tr:last-child td { border-bottom: 0; }
.doc .callout { display: flex; gap: 10px; background: var(--accent-soft); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; margin: 14px 0; color: #dededb; font-size: 13px; }

/* recipients, token search, logins */
.plats { display: flex; flex-wrap: wrap; gap: 8px; }
.plats button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); color: var(--muted); font-weight: 600; cursor: pointer; }
.plats button:hover { color: var(--text); }
.plats button.on { background: #fff; border-color: #fff; color: #000; }
.plat { width: 20px; height: 20px; border-radius: 50%; background: var(--s3); display: inline-grid; place-items: center; color: var(--text); flex: none; }
.plat svg { width: 12px; height: 12px; }
.plat.big { width: 46px; height: 46px; }
.plat.big svg { width: 22px; height: 22px; }
.dev .plat { width: 44px; height: 44px; }
.dev .plat svg { width: 20px; height: 20px; }
.tlist { margin-top: 8px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.tlist button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; }
.tlist button:last-child { border-bottom: 0; }
.tlist button:hover { background: var(--s2); }
.tlist img { width: 24px; height: 24px; border-radius: 50%; }
.tlist span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlist .r { margin-left: auto; font-family: var(--mono); color: var(--text); }
.logins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.logins .btn { justify-content: flex-start; }
.tg-login { display: flex; align-items: center; min-height: 40px; }
select.input { appearance: none; color: var(--text); background: var(--s1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 34px; cursor: pointer; }
select.input option { background: var(--s1); color: var(--text); }

.fsec > label.drop { display: flex; margin-bottom: 0; }

/* hero: the final stone, with every pair and every fee route in orbit */
.hero2 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: 640px; margin: -24px -24px 0; padding: 0 48px; overflow: hidden;
  background: radial-gradient(50% 70% at 72% 50%, #1a1a1a 0%, transparent 70%), radial-gradient(40% 90% at 0% 50%, #141414 0%, transparent 70%), #000; border-bottom: 1px solid var(--line); }
.h2l { position: relative; z-index: 3; }
.hero2 h1 { font-size: 62px; line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.hero2 h1 span { color: #fff; text-shadow: -1px 1px 0 #bdbdbd, -2px 2px 0 #8c8c8c, -3px 3px 0 #5c5c5c, -4px 5px 14px rgba(0,0,0,.7); }
.hero2 .final { margin-top: 22px; font: 500 13px var(--mono); letter-spacing: .32em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 12px; }
.hero2 .final::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #fff); }
.hero2 .sub { color: var(--muted); font-size: 17px; max-width: 480px; margin: 18px 0 30px; }
.hero2 .cta { display: flex; gap: 10px; }
.stage { position: relative; height: 640px; perspective: 1200px; }
.stage .glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.04) 40%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.stone { position: absolute; left: 50%; top: 50%; width: 400px; transform: translate(-50%, -50%); z-index: 2; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(255,255,255,.14)); }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; transform-style: preserve-3d; transform: rotateX(72deg) rotateY(-8deg); }
.ring { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: spin 46s linear infinite; }
.ring.r2 { animation-duration: 70s; animation-direction: reverse; }
.ring i { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.ring b { display: block; width: 46px; height: 46px; margin: -23px 0 0 -23px; animation: counter 46s linear infinite; transform-style: preserve-3d; }
.ring.r2 b { animation-duration: 70s; animation-direction: reverse; width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.ring b img { width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 24px rgba(255,255,255,.12); }
.ring b .pi { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: rgba(20,20,22,.85); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.ring b .pi svg { width: 17px; height: 17px; }
.orbit::before, .orbit::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.orbit::before { width: 500px; height: 500px; left: -250px; top: -250px; }
.orbit::after { width: 660px; height: 660px; left: -330px; top: -330px; border-style: dashed; border-color: rgba(255,255,255,.06); }
@keyframes spin { to { transform: rotateZ(360deg); } }
@keyframes counter { from { transform: rotateZ(0deg) rotateX(-72deg); } to { transform: rotateZ(-360deg) rotateX(-72deg); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -52%) rotate(-2deg); } 50% { transform: translate(-50%, -47%) rotate(2deg); } }
@keyframes breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ring, .ring b, .stone, .stage .glow { animation: none; } }
.aio { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; margin-top: 24px; background: var(--s1); }
.aio > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.aio > div:last-child { border-right: 0; }
.aio span { font: 500 12px var(--mono); color: var(--dim); }
.aio b { display: block; font-size: 20px; letter-spacing: -.02em; margin: 8px 0 6px; }
.aio p { color: var(--muted); }

/* fee splits */
.splits { margin-top: 12px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.srow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.splits .srow:last-of-type { border-bottom: 0; }
.splits > .hint { padding: 8px 12px; border-top: 1px solid var(--line); }
.srow b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow img { width: 24px; height: 24px; border-radius: 50%; }
.srow .pct { margin-left: auto; display: flex; align-items: center; gap: 4px; color: var(--muted); }
.srow .pct input { width: 52px; height: 32px; text-align: right; border: 1px solid var(--line2); border-radius: 8px; background: var(--s1); padding: 0 8px; outline: none; font-family: var(--mono); }
.srow button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.srow button:hover { color: var(--text); background: var(--s2); }
.srow.view { border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: none; }
.srow.view .r { margin-left: auto; text-align: right; font: 600 13px var(--mono); }
.stack-av { display: inline-flex; }
.stack-av > * { margin-left: -6px; border: 2px solid var(--s1); border-radius: 50%; }
.stack-av > *:first-child { margin-left: 0; }

/* ---------- handmade pass: square corners, hairlines, no glow, text over chrome ---------- */
:root { --text: #ECEAE5; --muted: #8E8B85; --dim: #5C5A56; --line: #1E1E1E; --line2: #2A2A2A; --s1: #070707; --s2: #101010; --s3: #171717; }
.panel, .card, .btn, .input, .textarea, .amount, .opt button, .plats button, .ghcard, .drop, .tlist, .splits, .kv, .search-btn, .icon-btn, .mini-btn,
.badge, .side, .side button, .quick button, .paywith button, .seg button, .pal-box, #toast, .empty, .doc table, .doc code, .doc .callout, .field-search, select.input, .srow .pct input { border-radius: 3px !important; }
.panel { background: transparent; }
.top { background: #000; backdrop-filter: none; }
.top nav a.on::after { bottom: -13px; height: 1px; }
.btn { font-weight: 600; box-shadow: none; }
.btn.lg { height: 46px; padding: 0 20px; }
.tlink { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #555; font-weight: 500; }
.tlink:hover { text-decoration-color: var(--text); }
.quiet { color: var(--muted); }
#toast { box-shadow: none; }

.hero2 { background: #000; min-height: 600px; border-bottom: 1px solid var(--line); }
.hero2 h1 { font-size: 64px; letter-spacing: -.045em; font-weight: 600; }
.hero2 .sub { font-size: 17px; line-height: 1.55; color: #B5B2AC; max-width: 470px; margin: 22px 0 28px; }
.hero2 .cta { align-items: center; gap: 22px; }
.hero2 .final { margin-top: 44px; font: 400 12px var(--mono); letter-spacing: .06em; text-transform: none; color: var(--dim); }
.hero2 .final::before { content: none; }
.stage .glow { display: none; }
.stone { filter: none; }
.ring b img, .ring b .pi { box-shadow: none; }

.tally { font: 400 12px var(--mono); color: var(--muted); margin: 18px 0 0; min-height: 18px; }
.controls { display: flex; align-items: baseline; gap: 24px; margin: 40px 0 10px; }
.controls h2.section { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.controls h2.section small { font: 400 12px var(--mono); color: var(--dim); }
.search-line { flex: 0 1 340px; height: 34px; border: 0; border-bottom: 1px solid var(--line2); background: none; outline: none; color: var(--text); font: 400 13px var(--mono); padding: 0 2px; }
.search-line:focus { border-bottom-color: var(--text); }
.sort, .chips { font: 400 12px var(--mono); color: var(--dim); }
.sort { margin-left: auto; }
.sort button, .chips .chip { all: unset; cursor: pointer; color: var(--muted); padding: 2px 3px; font: inherit; }
.sort button:hover, .chips .chip:hover { color: var(--text); }
.sort button.on, .chips .chip.on { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; padding: 10px 0 14px; border-top: 0; border-bottom: 1px solid var(--line); }
.chips .gap { width: 22px; }

.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font: 400 11px var(--mono); color: var(--dim); padding: 12px 10px 10px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.ledger tbody tr { cursor: pointer; }
.ledger tbody tr:hover td { background: #0B0B0B; }
.ledger .n { text-align: right; font-family: var(--mono); font-size: 13px; }
.ledger .lc { display: flex; align-items: center; gap: 10px; }
.ledger .lc img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--s3); }
.ledger .lc b { font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.ledger .lc span { font: 400 12px var(--mono); color: var(--muted); }
.ledger .qi { width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; }
.ledger .who { display: flex; align-items: center; gap: 8px; }
.ledger .who img { width: 18px; height: 18px; border-radius: 50%; }
.ledger .who em { font: normal 400 11px var(--mono); color: var(--up); }
.ledger .pg { display: block; height: 2px; margin-top: 5px; background: linear-gradient(90deg, var(--text) var(--p), #222 var(--p)); }

/* calmer inner pages */
.page-h { border-bottom: 1px solid var(--line); }
.page-h h1 { font-weight: 600; letter-spacing: -.035em; }
.panel-h { border-bottom: 1px solid var(--line); }
.panel-h h3 { font-weight: 600; }
.kv > div, .strip > div { border-color: var(--line); }
.opt button.on, .plats button.on { background: #fff; border-color: #fff; color: #000; }
.opt button.on span { color: #444; }
.badge { text-transform: lowercase; letter-spacing: 0; font-size: 11px; }
.foot { font-size: 12px; }
.skel { animation: none; background: none; border: 0; height: 40px; }
.fsec > label.field-search { display: flex; margin-bottom: 0; }

.lang-btn { height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 3px; background: none; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; }
.lang-btn:hover { color: var(--text); border-color: #3a3a3a; }
html[lang="zh-CN"] body { font-family: 'Outfit', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }

details.adv > summary { cursor: pointer; list-style: none; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary h3::after { content: ' +'; color: var(--dim); }
details.adv[open] > summary h3::after { content: ' −'; }
details.adv:not([open]) > summary { border-bottom: 0; }
