@font-face {
  font-family: Geist;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist:vf@5.2.8/latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #07064a;
  --bg-2: #100d62;
  --ink: #f5f4ff;
  --muted: #a7a4d4;
  --dim: #7d79ad;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(12, 10, 48, 0.72);
  --up: #86efac;
  --down: #fb7185;
  --btn: #ece8ff;
  --btn-ink: #1a1454;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  min-height: 100dvh;
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.top {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  height: 40px;
}
.logo svg { width: 138px; height: 46px; display: block; }
.logo ellipse { fill: none; stroke: currentColor; stroke-width: 3.4; }
.logo path { fill: currentColor; }
.logo text {
  fill: currentColor;
  font-family: Archivo, ui-sans-serif, sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.05em;
  text-anchor: middle;
}
.nav { display: flex; gap: 6px; flex: 1; }
.nav a, .wallet {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.nav a.on, .nav a:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.who { position: relative; margin-left: auto; }
.wallet {
  border: 0;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 650;
  cursor: pointer;
}
.profile {
  position: absolute;
  z-index: 40;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #12105c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.profile[hidden] { display: none; }
.profile strong { font-size: 13px; letter-spacing: 0.08em; color: var(--dim); font-weight: 650; }
.profile .addr { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile .sol {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}
.profile .rowline { display: flex; gap: 8px; flex-wrap: wrap; }
.profile .picks { display: grid; gap: 8px; }
.profile .pick { width: 100%; justify-content: flex-start; gap: 8px; }
.profile .pick img { width: 18px; height: 18px; border-radius: 4px; }
.profile button, .profile a {
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}
.quotes { display: flex; flex-wrap: wrap; gap: 8px; }
.quotes button {
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.quotes button.on { background: #7c78f6; color: #fff; border-color: transparent; }
.quiet { color: var(--muted); margin: 0 0 22px; }
.quiet a { text-decoration: underline; }
.coin img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.tape {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 6, 32, 0.45);
  overflow: hidden;
}
.tape b {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #2a246e;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.tape .track { flex: 1; overflow: hidden; }
.tape .run { display: flex; gap: 22px; width: max-content; padding: 9px 0; animation: slide 80s linear infinite; }
.tape span { white-space: nowrap; color: var(--muted); font-size: 13px; }
.tape strong { color: var(--ink); font-weight: 600; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 8px;
  align-items: center;
  padding: 34px 0 12px;
  position: relative;
}
.hero h1 { margin: 0 0 18px; }
.plate {
  display: inline-block;
  max-width: 100%;
  background: #fff;
  color: #100d3c;
  font-family: Geist, ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 5vw, 68px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  padding: 10px 14px 12px;
  box-shadow: 6px 6px 0 #6a66e8;
}
.hero p { max-width: 440px; margin: 0; color: #d5d3ff; font-size: 15px; line-height: 1.5; }
.actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero .primary, .hero .ghost {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
}
.hero .primary { background: #7c78f6; color: #fff; }
.hero .ghost { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.32); color: #fff; }
.stats { display: flex; gap: 28px; margin: 22px 0 0; }
.stats div { display: grid; gap: 2px; }
.stats dt { margin: 0; color: #8d8aa8; font-size: 12px; font-weight: 400; }
.stats dd { margin: 0; font-size: 20px; font-weight: 650; }
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 18px;
}
.feature {
  display: grid;
  gap: 4px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.feature em { font-style: normal; color: var(--muted); font-size: 13px; }
.feature strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.kicker {
  margin: 10px 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 650;
  color: var(--dim);
}
.pair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 176px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(12, 10, 48, 0.55)),
    var(--card);
}
.pair:hover { border-color: rgba(196, 184, 255, 0.55); }
.pair .toprow, .pair .stats { display: flex; justify-content: space-between; gap: 8px; }
.pair .toprow { color: var(--muted); font-size: 13px; }
.pair .sym { color: var(--ink); font-weight: 700; }
.pair .px, .detail .px {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.pair .meta, .detail .meta { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pair .stats { color: var(--dim); font-size: 12px; margin-top: auto; }
.chip {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(134, 239, 172, 0.16);
  color: var(--up);
  font-size: 11px;
}
.count { padding: 0 14px 8px; color: var(--dim); font-size: 12px; }
.status { min-height: 1.3em; color: var(--muted); }
.status.bad { color: var(--down); }
.status.ok { color: var(--up); }
.mintline { overflow-wrap: anywhere; font-size: 13px; color: var(--muted); }
input[type="file"] { height: auto; padding: 10px 12px; }
.primary, .ghost {
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
}
.primary { background: #c4b8ff; color: #1a1454; }
button:disabled { opacity: 0.45; cursor: default; }
.ghost { background: transparent; border-color: rgba(255,255,255,0.28); }
.globe {
  width: 100%;
  height: 440px;
  justify-self: end;
}
.globe canvas { width: 100%; height: 100%; display: block; }
.board, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.tools { display: flex; gap: 10px; align-items: center; padding: 12px; }
.search {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
  padding: 0 12px;
}
.tools button {
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--dim);
  padding: 0 10px;
  cursor: pointer;
}
.tools button.on { background: rgba(196,184,255,0.18); color: var(--ink); }
.head, .row {
  display: grid;
  grid-template-columns: 44px minmax(180px, 1.4fr) 1fr 1fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 0 14px;
}
.head { height: 36px; color: var(--dim); font-size: 11px; letter-spacing: 0.08em; }
.row {
  min-height: 58px;
  border-top: 1px solid var(--line);
}
.row:hover { background: rgba(255,255,255,0.04); }
.code { font-weight: 700; }
.name { color: var(--muted); font-size: 13px; }
.flag {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  font-size: 16px;
}
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--dim); }
.right { text-align: right; }
.page { padding: 36px 0 64px; }
.page h1 {
  margin: 0 0 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.lede { color: #d9d6f5; font-size: 18px; max-width: 640px; }
form.launch, .detail {
  margin-top: 22px;
  padding: 22px;
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.4; }
input, select, textarea {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  padding: 0 12px;
  font-size: 16px;
}
.picker { position: relative; }
.picker-btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--ink);
  text-align: left;
  padding: 0 12px;
  font-size: 16px;
  cursor: pointer;
}
.picker-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #171348;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.picker-menu[hidden] { display: none; }
.picker-menu input { margin-bottom: 6px; background: #100d3c; }
.picker-opt {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0 10px;
  font-size: 14px;
  cursor: pointer;
}
.picker-opt:hover, .picker-opt.on { background: rgba(255, 255, 255, 0.08); }
.picker-empty { padding: 10px; color: var(--dim); font-size: 13px; }
form.launch { backdrop-filter: none; }
textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.ready {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.foot {
  color: var(--dim);
  font-size: 13px;
  padding: 8px 0 40px;
  line-height: 1.5;
}
.empty { padding: 28px 14px; color: var(--muted); }
@media (max-width: 800px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .plate { font-size: clamp(40px, 12vw, 56px); }
  .globe { height: 260px; justify-self: stretch; margin: 0; }
  .links { grid-template-columns: 1fr; }
  .features, .pair-grid { grid-template-columns: 1fr 1fr; }
  .feature strong, .pair .px, .detail .px { font-size: 32px; }
  .head { display: none; }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto auto; }
  .usd { display: none; }
  .tools { flex-wrap: wrap; }
}
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .globe { height: 300px; justify-self: stretch; }
}
@media (max-width: 560px) {
  .pair-grid { grid-template-columns: 1fr; }
  .globe { height: 220px; }
  .stats { gap: 18px; }
}
@media (min-width: 1041px) {
  .hero { grid-template-columns: minmax(0, 520px) 1fr; min-height: 460px; overflow: hidden; }
  .globe {
    position: absolute;
    right: 0;
    top: 8px;
    width: 640px;
    height: 470px;
    pointer-events: none;
  }
}
