/* coin: a plain site in silver, to match the coin. One sans, one mono. */
:root {
  --bg: #fbfbfb;
  --ink: #1d1d1f;
  --soft: #5a5a5c;
  --dim: #8c8c8e;
  --line: #e4e4e6;
  --wash: #f2f2f3;
  /* metal */
  --metal: linear-gradient(180deg, #ffffff 0%, #ececec 45%, #d4d4d4 55%, #e6e6e6 100%);
  --metal-hover: linear-gradient(180deg, #ffffff 0%, #f4f4f4 45%, #dddddd 55%, #eeeeee 100%);
  --metal-deep: linear-gradient(180deg, #f6f6f6 0%, #d9d9d9 48%, #bdbdbd 52%, #d2d2d2 100%);
  --metal-edge: #bdbdbf;
  --steel: linear-gradient(180deg, #a7a7a9 0%, #6f6f72 100%);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .07);
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2 { font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: 46px; }
h2 { font-size: 24px; margin: 64px 0 14px; }
p { margin: 0 0 14px; }
.num, code { font-family: var(--mono); font-size: .82em; }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.r { text-align: right; }
[hidden] { display: none !important; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 960px; }
main { padding-bottom: 70px; }

/* top: a thin brushed strip */
.top { background: linear-gradient(180deg, #ffffff, #f1f1f2); border-bottom: 1px solid var(--line); box-shadow: inset 0 -1px 0 #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; max-width: 960px; }
.wm { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.wm:hover { text-decoration: none; }
.wm img { width: 28px; height: 28px; border-radius: 50%; }
.top .sp { flex: 1; }
.top .px { font: 13px var(--mono); color: var(--soft); }
#toplinks { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; }
#toplinks .xl { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--metal); border: 1px solid var(--metal-edge); box-shadow: var(--sheen); color: var(--ink); }
#toplinks .xl:hover { background: var(--metal-hover); text-decoration: none; }
#toplinks .xl svg { width: 15px; height: 15px; fill: currentColor; }

/* hero: the address in the middle */
.hero { text-align: center; padding-top: 72px; padding-bottom: 20px; }
.hero .logo { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 26px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12)); }
.hero .sub { font-size: 20px; color: var(--soft); max-width: 540px; margin: 16px auto 32px; }
.ca { display: flex; align-items: center; gap: 12px; justify-content: space-between; border: 1px dashed #c9c9cb; border-radius: 14px; padding: 10px 10px 10px 20px; margin: 0 auto; max-width: 660px; min-height: 66px; background: #f4f4f5; }
.ca .wait { color: var(--dim); font-size: 15px; margin: 0 auto; }
.ca.on { border: 1px solid var(--metal-edge); background: linear-gradient(180deg, #ffffff, #efeff0); box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(0, 0, 0, .05); }
.ca code { font-size: 15.5px; overflow-wrap: anywhere; cursor: pointer; text-align: left; }
.acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.count { margin: 48px 0 4px; font-size: 18px; color: var(--soft); }
/* the big number, struck in metal */
.count b { display: block; font: 700 72px/1.1 var(--sans); letter-spacing: -0.04em; background: linear-gradient(180deg, #4a4a4d 0%, #9d9da0 46%, #5c5c5f 54%, #2f2f31 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 640px) {
  h1 { font-size: 34px; }
  .hero { padding-top: 44px; }
  .hero .logo { width: 88px; height: 88px; }
  .hero .sub { font-size: 17px; }
  .ca { flex-direction: column; padding: 14px; }
  .ca code { font-size: 13.5px; text-align: center; }
  .count b { font-size: 60px; }
}

/* buttons: brushed silver, a highlight on top */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 1px solid var(--metal-edge); background: var(--metal); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; border-radius: 10px; white-space: nowrap; box-shadow: var(--sheen); text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.btn:hover { text-decoration: none; background: var(--metal-hover); border-color: #a9a9ab; }
.btn:active { box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15); }
.btn.dark { background: var(--metal-deep); border-color: #a5a5a7; box-shadow: var(--sheen), 0 3px 10px rgba(0, 0, 0, .08); }
.btn.dark:hover { background: var(--metal); }

ol.steps { padding-left: 22px; margin: 0 0 16px; }
.steps li { margin: 6px 0; padding-left: 4px; }

/* the list */
.list-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 64px 0 12px; }
.list-h h2 { margin: 0; }
.list-h h2 .dim { font-weight: 500; font-size: 20px; }
.tabs { display: flex; gap: 4px; background: #ececed; padding: 3px; border-radius: 10px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.tabs button { border: 0; background: none; padding: 5px 12px; font: 500 14px var(--sans); color: var(--soft); cursor: pointer; border-radius: 8px; }
.tabs button.on { background: var(--metal); color: var(--ink); box-shadow: var(--sheen); }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.t th { text-align: left; font-weight: 500; color: var(--dim); font-size: 13px; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.t td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t th.r, .t td.r { text-align: right; padding-right: 0; padding-left: 10px; }
.t td.num { font-size: 13.5px; }
.t td a.small { color: var(--soft); }
.cc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc:hover { text-decoration: none; }
.cc img, .cc .ph0 { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--metal-deep); box-shadow: 0 0 0 1px var(--metal-edge); }
.cc .tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.cc .tx b { font-weight: 600; }
.cc .tx > span { color: var(--dim); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.bar { height: 6px; background: #e6e6e7; border-radius: 3px; position: relative; width: 70px; overflow: hidden; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .08); }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--steel); border-radius: 3px; }
.pct { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
.more { text-align: center; margin-top: 18px; }
.empty { color: var(--dim); padding: 18px 0; }
@media (max-width: 640px) { .hm { display: none; } .cc .tx > span { max-width: 150px; } }

/* fees: three metals, darkest to lightest */
.split { margin: 18px 0 18px; }
.split .bar2 { display: flex; height: 12px; gap: 3px; }
.split .bar2 i { display: block; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.split .keys { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; font-size: 14.5px; color: var(--soft); }
.split .keys span::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--c); }
.c-burn { --c: #6f6f72; background: linear-gradient(180deg, #9a9a9d, #5e5e61); }
.c-pot { --c: #a9a9ac; background: linear-gradient(180deg, #cfcfd1, #9b9b9e); }
.c-team { --c: #d6d6d8; background: linear-gradient(180deg, #ececed, #cdcdcf); }
.keys .c-burn, .keys .c-pot, .keys .c-team { background: none; }

/* the pot */
.potline { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 26px; padding: 12px 22px; border-radius: 12px; background: var(--metal); border: 1px solid #b1b1b3; box-shadow: var(--sheen), 0 4px 14px rgba(0, 0, 0, .07); color: #3d3d40; font-size: 15px; font-weight: 500; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.potline:hover { text-decoration: none; background: var(--metal-hover); }
.potline b { font-weight: 700; margin-left: 4px; color: var(--ink); }
.potline span:last-child { color: #5a5a5c; }

/* ledger */
.wallets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wallet { padding: 16px; background: linear-gradient(180deg, #ffffff, #f1f1f2); border: 1px solid var(--line); border-radius: 14px; box-shadow: inset 0 1px 0 #fff; min-width: 0; }
.wallet > span { display: block; color: var(--dim); font-size: 13px; }
.wallet b { display: block; font: 700 26px/1.25 var(--sans); letter-spacing: -0.03em; }
.wallet small { display: block; color: var(--soft); font-size: 13px; min-height: 36px; }
.wallet .addr { display: inline-block; margin-top: 8px; font: 13px var(--mono); text-decoration: underline; text-underline-offset: 3px; color: var(--soft); }
.nums.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feed .v a + a { margin-top: 2px; }
@media (max-width: 760px) { .wallets { grid-template-columns: 1fr; } .nums.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tabs { flex-wrap: wrap; } }

/* the menu: a liquid-glass dock floating at the bottom, icons only */
body { padding-bottom: 104px; }
.dock { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  display: flex; gap: 2px; padding: 6px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(240, 240, 242, .38));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .05), inset 0 0 0 .5px rgba(0, 0, 0, .08); }
/* the glass's light: a sheen on the upper half */
.dock::before { content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .18) 100%); }
.dock { transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.dock.away { transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .dock, .dock.away { transform: translateX(-50%); } }
.dock a { position: relative; display: grid; place-items: center; width: 54px; height: 46px; border-radius: 22px; color: #3a3a3c; transition: background .2s, color .2s, transform .15s; }
.dock a:hover { text-decoration: none; background: rgba(255, 255, 255, .45); color: var(--ink); }
.dock a:active { transform: scale(.94); }
.dock a.on { color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 .5px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .1); }
.dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; position: relative; }
/* the name, on hover (mouse only) */
.dock a::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none; opacity: 0;
  padding: 5px 10px; border-radius: 10px; font: 500 13px var(--sans); color: var(--ink);
  background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transition: opacity .15s, transform .15s; }
@media (hover: hover) { .dock a:hover::after { opacity: 1; transform: translate(-50%, 0); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dock { background: rgba(250, 250, 251, .96); } }
@media (max-width: 420px) { .dock a { width: 48px; height: 44px; } .dock svg { width: 22px; height: 22px; } }
.ph { padding-top: 56px; }
.ph h1 { font-size: 40px; }
.ph p { color: var(--soft); font-size: 18px; margin-top: 12px; }
.ph .metal { background: linear-gradient(180deg, #4a4a4d 0%, #9d9da0 46%, #5c5c5f 54%, #2f2f31 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph .bignum { font: 700 56px/1.1 var(--sans); letter-spacing: -0.04em; background: linear-gradient(180deg, #4a4a4d 0%, #9d9da0 46%, #5c5c5f 54%, #2f2f31 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seeall { margin-top: 14px; font-size: 15px; font-weight: 500; }
.seeall a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .top .px { display: none; }
  .ph { padding-top: 36px; }
  .ph h1 { font-size: 32px; }
}
.potbox { background: linear-gradient(180deg, #f6f6f7, #ececee); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 22px 0 0; box-shadow: inset 0 1px 0 #fff; }
.pb-h { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pb-h > div { background: linear-gradient(180deg, #ffffff, #f5f5f6); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pb-h span { display: block; color: var(--dim); font-size: 13px; }
.pb-h b { display: block; font: 700 30px/1.2 var(--sans); letter-spacing: -0.03em; }
.pb-h small { color: var(--soft); font-size: 13px; }
.potbox .t td, .potbox .t th { border-color: #dfdfe1; }
.pl { width: 30px; flex: none; font: 600 13px var(--mono); color: var(--soft); }
.t tr.out td { color: var(--dim); }
.t tr.out .cc img { opacity: .6; }
.rh { font-size: 17px; margin: 26px 0 4px; }
@media (max-width: 640px) { .pb-h b { font-size: 24px; } .potline { font-size: 14px; } }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; }
.nums > div { padding: 14px 16px; background: linear-gradient(180deg, #fafafa, #eeeeef); border: 1px solid var(--line); border-radius: 12px; min-width: 0; box-shadow: inset 0 1px 0 #fff; }
.nums span { display: block; color: var(--dim); font-size: 13px; }
.nums b { display: block; font: 600 22px var(--sans); letter-spacing: -0.02em; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nums small { display: block; color: var(--soft); font-size: 13px; }
@media (max-width: 640px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* feed */
ul.feed { list-style: none; padding: 0; margin: 0; }
.feed li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.feed li img, .feed .ph0 { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--metal-deep); display: block; }
.feed small { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; }
.feed .v { text-align: right; font: 13px var(--mono); color: var(--soft); white-space: nowrap; }
.feed .v a { display: block; text-decoration: underline; text-underline-offset: 3px; }
.feed li.new { animation: fresh 1.6s ease-out; }
@keyframes fresh { from { background: #ececee; } to { background: transparent; } }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--metal-deep); border: 1px solid #a9a9ab; box-shadow: var(--sheen), 0 6px 18px rgba(0, 0, 0, .12); color: var(--ink); padding: 8px 18px; font-size: 14px; font-weight: 600; z-index: 60; transition: opacity .3s; border-radius: 10px; }

/* bottom */
.foot { background: linear-gradient(180deg, #f3f3f4, #ececed); border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; color: var(--dim); }
.foot .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; max-width: 960px; }
.foot a { color: var(--soft); }
