:root{
  color-scheme: light;
  --ink:#0a0a0b;
  --ink-2:#55555c;
  --ink-3:#6b6b72;
  --line:#ececee;
  --line-2:#dcdce0;
  --surface:#ffffff;
  --surface-2:#f4f4f6;
  --surface-hover:#fafafb;
  --card:#ffffff;
  --shadow:0 1px 2px rgba(10,10,11,.04);
  --toast-bg:#0a0a0b;
  --toast-fg:#ffffff;
  --ease:cubic-bezier(.2,.7,.2,1);
}

[data-theme="dark"]{
  color-scheme: dark;
  --ink:#f5f5f7;
  --ink-2:#a1a1aa;
  --ink-3:#7c7c85;
  --line:#222226;
  --line-2:#323237;
  --surface:#0c0c0e;
  --surface-2:#1a1a1d;
  --surface-hover:#141417;
  --card:#111114;
  --shadow:none;
  --toast-bg:#f5f5f7;
  --toast-fg:#0a0a0b;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--surface);
  color:var(--ink);
  font-family:"Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  transition:background-color .25s var(--ease), color .25s var(--ease);
}

.page{
  max-width:752px;
  margin:0 auto;
  padding:0 32px;
}

.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:80px;
}

.brand{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  white-space:nowrap;
}

.brand__name{
  font-size:16px;
  font-weight:500;
  letter-spacing:-.01em;
  color:var(--ink);
  text-decoration:none;
}

.brand__sub{
  font-size:13px;
  font-weight:400;
  letter-spacing:0;
  color:var(--ink-3);
  cursor:default;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.hero{
  padding:48px 0 40px;
}

h1{
  margin:0 0 16px;
  font-size:44px;
  line-height:1.1;
  font-weight:500;
  letter-spacing:-.03em;
}

.hero-name{
  display:inline-block;
  white-space:nowrap;
}

.hero-avatar{
  display:inline-block;
  width:.92em;
  height:.92em;
  margin:0 .22em 0 .08em;
  vertical-align:-.16em;
  border:.09em solid #ffffff;
  border-radius:.32em;
  background:var(--surface-2);
  box-shadow:0 0 0 1px rgba(10,10,11,.1), 0 8px 16px -8px rgba(10,10,11,.45);
  overflow:hidden;
  transform:rotate(-8deg);
  transition:transform .35s var(--ease);
}

@media (hover:hover){
  .hero-avatar:hover{
    transform:rotate(-3deg) scale(1.04);
  }
}

.hero-avatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-avatar[hidden]{
  display:none;
}

.hero-word{
  display:inline-block;
}

.lede{
  margin:0;
  max-width:56ch;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-2);
}

.list{
  display:grid;
  gap:8px;
}

.card{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:12px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  transition:border-color .18s var(--ease), background-color .18s var(--ease);
}

.card:hover{
  border-color:var(--line-2);
  background:var(--surface-hover);
}

.tile{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  color:var(--ink);
}

.logo{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
}

.coin{
  display:none;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tile.is-fallback{
  border-radius:12px;
  background:color-mix(in srgb, var(--coin, var(--ink-3)) 16%, var(--surface-2));
}

.tile.is-fallback .logo{display:none}
.tile.is-fallback .coin{display:block}

.card__body{min-width:0}

.meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 8px;
  margin-bottom:4px;
}

.name{
  font-size:16px;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:20px;
}

.ticker,
.note{
  padding:2px 8px;
  border-radius:8px;
  background:var(--surface-2);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11px;
  line-height:16px;
  letter-spacing:.01em;
  color:var(--ink-3);
  white-space:nowrap;
}

.ticker{ color:var(--ink-2); }

.addr{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:13px;
  line-height:20px;
  font-variant-numeric:tabular-nums;
}

.addr-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  min-width:0;
  height:24px;
  margin:0 0 0 -8px;
  padding:0 8px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--ink-2);
  font:inherit;
  text-align:left;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.addr-btn__icon{
  color:var(--ink-3);
  transition:color .18s var(--ease);
}

.addr-btn:hover,
.addr-btn.is-copied{
  background:var(--surface-2);
  box-shadow:inset 0 0 0 1px var(--line);
  color:var(--ink);
}

.addr-btn:hover .addr-btn__icon,
.addr-btn.is-copied .addr-btn__icon{color:var(--ink)}

.addr-btn:active{background:var(--line)}

.copy{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  min-width:104px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface-2);
  color:var(--ink);
  font:inherit;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}

.copy:hover{background:var(--line);border-color:var(--line-2)}
.copy:active{transform:scale(.97)}

.copy.is-copied,
.copy.is-copied:hover{
  background:var(--ink);
  border-color:var(--ink);
  color:var(--surface);
}

.i{
  width:16px;
  height:16px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gh{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  color:var(--ink-2);
  font-size:13px;
  font-weight:500;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:color .18s var(--ease), background-color .18s var(--ease);
}

.gh:hover{color:var(--ink);background:var(--surface-2)}

.gh__mark{
  width:16px;
  height:16px;
  flex:none;
  fill:currentColor;
}

.gh[hidden]{
  display:none;
}

.gh__label{
  display:inline;
}

.switch{
  position:relative;
  flex:none;
  width:48px;
  height:28px;
  padding:2px;
  border:0;
  border-radius:999px;
  background:var(--line-2);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .22s var(--ease);
}

.switch__knob{
  display:block;
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--surface);
  box-shadow:0 1px 3px rgba(0,0,0,.2);
  transition:transform .22s var(--ease), background-color .22s var(--ease);
}

.switch[aria-checked="true"]{background:var(--ink)}
.switch[aria-checked="true"] .switch__knob{transform:translateX(20px)}

:where(a,button):focus-visible{
  outline:2px solid var(--ink);
  outline-offset:2px;
}

.site-footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:40px;
  padding:20px 0 32px;
  border-top:1px solid var(--line);
  font-size:13px;
  color:var(--ink-3);
}

.toast{
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:400;
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(440px, calc(100vw - 32px));
  padding:14px 18px;
  border-radius:18px;
  background:var(--toast-bg);
  color:var(--toast-fg);
  font-size:14px;
  line-height:1.4;
  box-shadow:0 12px 32px -8px rgba(0,0,0,.28);
  opacity:0;
  transform:translate(-50%, 10px);
  pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
}

.toast.is-visible{
  opacity:1;
  transform:translate(-50%, 0);
}

.toast .i{
  width:18px;
  height:18px;
  stroke-width:2;
}

.load-error{
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface-2);
  color:var(--ink-2);
  font-size:13px;
  line-height:1.5;
  text-align:center;
}

@keyframes rise{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}

.reveal{
  opacity:0;
  animation:rise .55s var(--ease) forwards;
  animation-delay:var(--d,0ms);
}

@supports (corner-shape:squircle){
  .card,
  .tile,
  .copy,
  .gh,
  .ticker,
  .note,
  .toast{
    corner-shape:squircle;
  }
}

@media (max-width:640px){
  .page{padding:0 16px}
  .site-header{height:64px}
  .brand{gap:6px}
  .brand__sub{font-size:12px}
  .header-actions{gap:4px}
  .header-actions .gh__label{display:none}
  .header-actions .gh{padding:0 10px;min-width:40px;justify-content:center}
  .hero{padding:32px 0 28px}
  h1{font-size:32px;letter-spacing:-.025em}
  .hero-avatar{margin:0 .18em 0 .06em}
  .lede{font-size:15px}
  .card{grid-template-columns:40px minmax(0,1fr) auto;gap:12px;border-radius:20px}
  .tile{width:40px;height:40px}
  .tile.is-fallback{border-radius:10px}
  .coin{width:20px;height:20px}
  .copy{min-width:40px;width:40px;padding:0}
  .copy .label{display:none}
  .site-footer{flex-wrap:wrap;justify-content:flex-start;margin-top:32px;gap:8px}
  .site-footer .gh__label{display:none}
  .site-footer .gh{padding:0 10px;min-width:40px;justify-content:center}
  .toast{bottom:16px;padding:12px 14px;font-size:13px}
}

@media (max-width:400px){
  .brand__sub{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-delay:0ms !important;
    transition-duration:.001ms !important;
  }
  .reveal{opacity:1;transform:none}
}