:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg2: #10151d;
  --ink: #f4f0e6;
  --muted: #a7b3c2;
  --dim: #6d7c8d;
  --line: rgba(244, 240, 230, 0.12);
  --line2: rgba(244, 240, 230, 0.28);
  --card: #10151d;
  --stamp: #3aa0ff;
  --ok: #3dcc7a;
  --wait: #f0b429;
  --bad: #ff6b6b;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Avenir Next", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(243, 240, 231, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  mask-image: linear-gradient(#000, transparent 80%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: 0.45; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 1px solid var(--stamp); outline-offset: 3px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 17, 14, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mark {
  width: 18px;
  height: 26px;
  border-radius: 999px;
  background: #f3e2c4;
  box-shadow: inset 0 -9px 0 #3dcc7a;
  border: 2px solid #16301f;
}
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a.on { color: var(--bg); background: var(--ink); }
.end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}
.dot[data-state="live"] {
  background: var(--ok);
  animation: pulse 1.8s infinite;
}
.dot[data-state="out"] { background: var(--ink); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 204, 122, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 204, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 204, 122, 0); }
}
.sbtn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sbtn:hover { border-color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 64px 0 28px;
  align-items: start;
}
.hero > * { min-width: 0; }
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(56px, 7.4vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
h1 em { font-style: italic; color: var(--stamp); }
.lead {
  max-width: 36rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: break-word;
}
.actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover, #myBtn.on { background: var(--ok); border-color: var(--ok); color: #06210f; }
.btn.ghost:hover { background: rgba(243, 240, 231, 0.06); }
.stage { display: grid; gap: 12px; }
.plate {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 16px 18px;
}
.plate header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.who { margin: 14px 0 0; font-size: 15px; }
.txt {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  min-height: 1.15em;
}
.frame {
  margin-top: 14px;
  aspect-ratio: 1.15 / 1;
  background: #0c0d0b;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.frame .ph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--dim);
}
.cap { margin: 12px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 22px 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 22px; }
.stat .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.stat .n {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .s { margin-top: 6px; color: var(--muted); font-size: 13px; }
.track { margin-top: 14px; height: 2px; background: var(--line); }
.track > span { display: block; height: 100%; background: var(--stamp); width: 0; }

.pcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  background: #0c1218;
  border: 3px solid #3aa0ff;
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
}
.pcard:hover { border-color: #8bc7ff; }
.pcart { position: relative; aspect-ratio: 1; background: #0b0e12; }
.pcart img { width: 100%; height: 100%; object-fit: cover; }
.ptag {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.ptag .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d5e6f5;
}
.ptag strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}
.ptag .s { font-size: 13px; color: #d7dee6; }
.pfoot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0c2;
}
.stage .pcard { max-width: 420px; margin-left: auto; }
.lineup {
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #07090d;
}
.lineup img { width: 100%; height: auto; }
.hero-card .cap { margin-top: 10px; }

.block { padding: 72px 0 0; }
.block h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.sub { margin: 10px 0 0; color: var(--muted); max-width: 40rem; }
.sh { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 8px; }

.contracts { display: grid; gap: 8px; margin-top: 28px; }
.ctb {
  width: 100%;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
}
.ctb .k { color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.ctb .v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctb .c { color: var(--muted); }
.ctb.done .c { color: var(--ok); }
.note { margin: 12px 0 0; color: var(--dim); font-size: 13px; }

.feed {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  max-height: 460px;
  overflow: auto;
}
.th {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.av {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #24261f;
  font-family: var(--mono);
  font-size: 13px;
}
.th .top {
  position: static;
  background: none;
  backdrop-filter: none;
  border: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.nick { font-weight: 600; }
.ago, .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.tag.ok { color: var(--ok); }
.tag.no { color: var(--bad); }
.tag.wait { color: var(--wait); }
.th .body { margin-top: 4px; color: var(--muted); }
.th code { font-family: var(--mono); color: var(--ink); font-size: 13px; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--stamp);
  padding-top: 8px;
}
.step h3 { margin: 0; font-family: var(--serif); font-weight: 450; font-size: 32px; letter-spacing: -0.03em; }
.step p { margin: 8px 0 0; color: var(--muted); max-width: 40rem; }
.wallets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.wallets span {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.cmd {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line2);
  padding: 12px 14px;
}
.cmd code { font-family: var(--mono); font-size: 22px; letter-spacing: 0.04em; }
.copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hold {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq { border-top: 1px solid var(--line); margin-top: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa .q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 0;
  font-size: 17px;
}
.qa .pl { font-family: var(--mono); color: var(--dim); }
.qa .a { display: none; padding: 0 0 18px; color: var(--muted); max-width: 44rem; }
.qa.open .a { display: block; }
.qa.open .pl { color: var(--stamp); }

.ghead { padding: 48px 0 20px; display: flex; justify-content: space-between; gap: 20px; align-items: end; flex-wrap: wrap; }
.ghead h1 { font-size: clamp(48px, 6vw, 76px); }
.tools { display: flex; gap: 8px; flex-wrap: wrap; }
.search, .wal {
  height: 44px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line2);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  min-width: 0;
}
.search { width: 140px; }
.wal { width: min(280px, 100%); }
.gbody { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-bottom: 48px; }
.filters.collapsed { display: none; }
.gbody:has(.filters.collapsed) { grid-template-columns: 1fr; }
.fh, .minehead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fh .t, .minehead span, .fg .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.opt {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
}
.opt.on { color: var(--ink); }
.fg { margin-top: 18px; }
.mine { margin-top: 22px; display: grid; gap: 8px; }
.hint { margin: 0; color: var(--dim); font-size: 12px; }
.sorts { display: flex; gap: 12px; margin-bottom: 12px; }
.sorts button { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.sorts button.on { color: var(--ink); }
.res { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid .pcard .ptag strong { font-size: 18px; }
.card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0;
}
.card .im {
  aspect-ratio: 1;
  background: #0c0d0b;
  position: relative;
}
.card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card .cb {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.card .ow { color: var(--dim); }
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 6px;
}
.empty { padding: 28px 0; color: var(--muted); }
.more { margin-top: 16px; }

.mo {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 7, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
}
.md {
  width: min(880px, 100%);
  background: var(--bg2);
  border: 1px solid var(--line2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.md img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; background: #10110e; }
.md .info { padding: 22px; }
.md h3 { margin: 0; font-family: var(--serif); font-weight: 450; font-size: 36px; letter-spacing: -0.03em; }
.kv { display: grid; gap: 8px; margin-top: 16px; }
.tr { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; }
.tr .k { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.own { margin-top: 16px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.own code { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 20px;
}

.foot {
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 32px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
}
.foot a { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.pill {
  border: 1px solid var(--line2);
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .hero, .gbody, .md { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stage .pcard { max-width: none; margin-left: 0; }
  .bar { flex-wrap: wrap; padding: 12px 0; }
  .end { margin-left: auto; }
  .ctb { grid-template-columns: 1fr auto; }
  .ctb .k { grid-column: 1 / -1; }
  h1 { font-size: clamp(40px, 10.2vw, 64px); }
  .lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
