/* SN4G — near-black green terminal look. Archivo display, IBM Plex Mono data,
   badge wordmark, pill buttons, plus-sign field background. */

:root {
  --bg: #0a0c0b;
  --panel: #0e100e;
  --panel-2: #121513;
  --line: #1d221e;
  --line-soft: #161a17;
  --txt: #eceeea;
  --mut: #99a39b;
  --dim: #5b655d;
  --acc: #57e08e;
  --acc-deep: #2f7f53;
  --acc-soft: rgba(87, 224, 142, .1);
  --hot: #e8f52f;
  --paper: #e9eae6;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --display: 'Archivo Black', 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  /* faint field of + marks */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 24v8M24 28h8' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  color: var(--txt);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: var(--acc); color: #0b0a08; }

a { color: inherit; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b { font-weight: 700; }
.hidden { display: none !important; }

/* ---------- topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 60px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  z-index: 50;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wm-badge {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--acc);
  color: #0a0c0b;
  font-family: var(--display);
  font-size: 17px;
  line-height: 26px;
  text-align: center;
  transform: rotate(-6deg);
}
.wm-text {
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  letter-spacing: .04em;
  line-height: 1;
}
.wm-text em { font-style: italic; color: var(--acc); }

.topnav { display: flex; gap: 4px; margin-right: auto; }
.nav-link {
  color: var(--mut);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--txt); background: var(--panel-2); }

.top-right { display: flex; align-items: center; gap: 10px; }

.pump-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: color .15s, border-color .15s;
}
.pump-link:hover { color: var(--acc); border-color: var(--acc-deep); }

.btn-connect {
  background: var(--paper);
  color: #101210;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px rgba(0,0,0,.35);
  transition: transform .12s, opacity .15s;
}
.btn-connect:hover { opacity: .92; transform: translateY(-1px); }
.btn-connect.connected {
  background: none;
  color: var(--txt);
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 500;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 12px;
}

/* ---------- layout ---------- */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 80px;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: clamp(44px, 6vh, 72px) 0 40px;
}

.hero-head {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1.18;
  max-width: 760px;
  margin: 0 auto 12px;
}
.hero-head .hl { color: inherit; }
.hero-sub {
  color: var(--mut);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.round-chip {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 13px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--acc);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 12px;
}
.live-dot { display: none; }

.hero-rule { font-size: 12.5px; color: var(--dim); font-family: var(--mono); }

.clock {
  display: inline-flex;
  align-items: flex-start;
  gap: clamp(8px, 2vw, 18px);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.clock-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.clock-num {
  font-size: clamp(60px, 11vw, 116px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  transition: color .3s;
}
.clock-sep {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dim);
}
.clock-unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--dim);
}
.clock.prelaunch .clock-num { color: var(--txt); }
.clock.warn .clock-num { color: var(--acc); }
.clock.panic .clock-num { color: var(--hot); animation: panic .8s steps(1) infinite; }
@keyframes panic { 50% { opacity: .5; } }

.leader-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mut);
}
.leader-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.leader-addr {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid var(--acc-deep);
  padding-bottom: 1px;
}
.leader-addr:hover { color: var(--acc); }
.leader-addr.you { color: var(--acc); font-weight: 700; }
.leader-takes b { color: var(--acc); font-family: var(--mono); font-size: 13px; }

/* last-round banner */
.lastwin {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--mut);
  transition: border-color .15s, transform .12s;
}
.lastwin:hover { border-color: var(--acc-deep); transform: translateY(-1px); }
.lw-flag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
  align-self: center;
}
.lw-round { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.lw-body b { font-family: var(--mono); font-size: 13px; color: var(--txt); }
.lw-amt { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--acc); }
.lw-arrow { color: var(--dim); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--panel);
}
.stat {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.stat-value {
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.stat-value small { font-size: 11.5px; color: var(--mut); font-weight: 500; margin-left: 2px; }
.stat-value.accent b { color: var(--acc); }
.stat-sub { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.stat-sub span { color: var(--mut); font-family: var(--mono); font-size: 11px; }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
  align-items: start;
}
.col-left, .col-right { display: flex; flex-direction: column; gap: 22px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.card-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mut);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
}
.card-side {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* winners */
.winners { display: flex; flex-direction: column; gap: 8px; }
.win-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: border-color .15s;
}
.win-row:hover { border-color: var(--acc-deep); }
.win-row.latest { border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.win-row.mine .win-who { color: var(--acc); font-weight: 700; }
.win-round {
  color: var(--acc);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 7px;
  align-self: center;
}
.win-row.rolled .win-round { color: var(--mut); }
.win-dur { color: var(--dim); font-size: 11px; }
.win-who { color: var(--txt); }
.win-who.dim { color: var(--dim); }
.win-amt { color: var(--acc); font-weight: 700; text-align: right; }
.win-amt small { color: var(--mut); font-weight: 400; font-size: 10.5px; margin-left: 4px; }
.win-usd { color: var(--dim); font-size: 11px; text-align: right; }

/* doubling bars */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 190px;
  padding-top: 8px;
}
.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.bar {
  width: 100%;
  border-radius: 3px;
  background: var(--line);
  transition: background .3s;
}
.bar-col.done .bar { background: var(--acc-deep); opacity: .5; }
.bar-col.cur .bar { background: var(--acc); box-shadow: 0 0 28px var(--acc-soft); }
.bar-col.cur .bar-n { color: var(--acc); font-weight: 700; }
.bar-len {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--dim);
  white-space: nowrap;
}
.bar-col.cur .bar-len { color: var(--acc); }
.bar-n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}
.bar-inf {
  color: var(--dim);
  font-size: 22px;
  line-height: 1;
  padding-bottom: 4px;
}
.bar-col.more { justify-content: flex-end; flex: .5; }

.chart-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  gap: 14px;
}

/* feed */
.feed { display: flex; flex-direction: column; }
.feed-empty { color: var(--dim); font-size: 13px; padding: 8px 0; font-family: var(--mono); }
.feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.feed-row:first-child { border-top: 0; }
.feed-addr { color: var(--txt); text-decoration: none; }
.feed-addr:hover { color: var(--acc); }
.feed-chip {
  font-size: 9.5px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--acc);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 8px;
}
.feed-amt { text-align: right; }
.feed-amt .up { color: var(--acc); font-weight: 600; }
.feed-amt .down { color: var(--dim); font-weight: 500; }
.feed-time { color: var(--dim); font-size: 11px; text-align: right; min-width: 52px; }

/* ---------- trade card ---------- */
.trade-card { padding: 0; overflow: hidden; }

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 6px;
  gap: 4px;
}
.tab {
  flex: 1;
  padding: 10px 0 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.tab:hover { color: var(--mut); }
.tab.active { color: #101210; background: var(--acc); }

.pane { display: none; padding: 20px 22px 22px; }
.pane.active { display: block; }

.pane-copy { font-size: 13.5px; color: var(--mut); margin-bottom: 18px; }
.pane-copy b { color: var(--txt); font-family: var(--mono); font-size: 12.5px; }

.field-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.field-unit { color: var(--mut); text-transform: none; letter-spacing: .04em; }
.field-bal { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 11px; cursor: pointer; }
.field-bal:hover { color: var(--acc); }

.field {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .15s;
}
.field:focus-within { border-color: var(--acc-deep); }
.field input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  color: var(--txt);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  padding: 13px 0;
  min-width: 0;
}
.field input::placeholder { color: var(--dim); }
.field-tag { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.sell-presets { grid-template-columns: repeat(3, 1fr); }
.preset {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mut);
  transition: border-color .15s, color .15s;
}
.preset:hover { border-color: var(--acc-deep); color: var(--txt); }
.preset.sel { border-color: var(--acc); color: var(--acc); background: var(--acc-soft); }

.btn-cta {
  width: 100%;
  margin-top: 18px;
  background: var(--paper);
  color: #101210;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px rgba(0,0,0,.35);
  transition: transform .12s, opacity .15s;
}
.btn-cta:hover { opacity: .92; transform: translateY(-1px); }
.btn-cta:disabled { opacity: .3; cursor: default; transform: none; }
.btn-cta.ghost {
  background: var(--panel-2);
  color: var(--txt);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-cta.ghost:hover { border-color: var(--acc-deep); }

.fine { font-size: 11px; color: var(--dim); margin-top: 12px; line-height: 1.6; font-family: var(--mono); }

.tx-status {
  margin: 0 22px 20px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mut);
  word-break: break-all;
}
.tx-status.err { border-color: rgba(255, 68, 56, .4); color: var(--hot); }
.tx-status.ok { border-color: color-mix(in srgb, var(--acc) 40%, transparent); color: var(--acc); }
.tx-status a { color: inherit; }
.tx-status.hidden { display: none; }

/* links card */
.links-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ca-full {
  text-align: left;
  width: 100%;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mut);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  word-break: break-all;
  line-height: 1.5;
  transition: border-color .15s, color .15s;
}
.ca-full:hover { border-color: var(--acc-deep); color: var(--txt); }
.ext-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ext-links a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  transition: color .15s, border-color .15s;
}
.ext-links a:hover { color: var(--acc); border-color: var(--acc-deep); }

/* ---------- how it works / sections ---------- */
.how { margin-top: 76px; }
.how-title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.how-sub {
  color: var(--mut);
  font-size: 14px;
  max-width: 560px;
  margin-bottom: 28px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.how-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.how-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--acc);
  letter-spacing: .12em;
}
.how-step h3 { font-size: 14.5px; font-weight: 700; margin: 10px 0 6px; letter-spacing: -.01em; }
.how-step p { font-size: 13px; color: var(--mut); line-height: 1.6; }
.how-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--dim);
  font-family: var(--mono);
}

/* ---------- tech ---------- */
.tech { margin-top: 76px; }
.tech-lede {
  font-size: 14.5px;
  color: var(--mut);
  max-width: 640px;
  margin-bottom: 26px;
}
.tech-lede b { color: var(--txt); }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tech-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
}
.tech-tag .tt-sep {
  width: 1px; height: 9px;
  background: var(--line);
}
.tech-tag .tt-live { color: var(--acc); }
.tech-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -.01em; }
.tech-card p { font-size: 13.5px; color: var(--mut); line-height: 1.65; }
.tech-card .ca-full { margin-top: 12px; margin-bottom: 10px; }
.tech-card code, .how-step code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--acc);
  background: var(--acc-soft);
  border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent);
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- machine address table ---------- */
.machine-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; }
.addr-card { margin-top: 0; }
.addr-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}
.addr-row:first-of-type { border-top: 0; }
.addr-label { color: var(--mut); white-space: nowrap; }
.addr-label i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-left: 6px;
}
.addr-val {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt);
  word-break: break-all;
  text-align: right;
}
.addr-val a { color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--acc-deep); padding-bottom: 1px; }
.addr-val a:hover { color: var(--acc); }
.addr-val .dim { color: var(--dim); }

/* ---------- assets page ---------- */
.assets-hero { padding: 48px 0 8px; }
.assets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.asset-wide { grid-column: 1 / -1; }
.asset-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.asset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.asset-stage {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.asset-stage.checker {
  background-color: #141613;
  background-image:
    linear-gradient(45deg, #0f110f 25%, transparent 25%),
    linear-gradient(-45deg, #0f110f 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0f110f 75%),
    linear-gradient(-45deg, transparent 75%, #0f110f 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}
.asset-stage.checker canvas,
#stageMark canvas { max-width: 280px; }
.asset-actions { display: flex; gap: 10px; margin-top: 16px; }
.asset-actions .btn-cta { width: auto; margin-top: 0; padding: 11px 22px; flex: 0 0 auto; }
.asset-actions .btn-cta.ghost { padding: 11px 18px; }

@media (max-width: 760px) {
  .assets-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 48px) 36px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot-dim { color: var(--dim); }
.foot-links { display: inline-flex; align-items: center; gap: 20px; }
.foot-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mut);
  text-decoration: none;
  letter-spacing: .1em;
  transition: color .15s;
}
.foot-x:hover { color: var(--acc); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .bar-len { display: none; }
  .bar-col.cur .bar-len { display: block; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat:first-child { border-top: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .hero-status { flex-wrap: wrap; gap: 10px; }
  .lastwin { flex-wrap: wrap; justify-content: center; border-radius: 14px; }
  .win-row { grid-template-columns: auto 1fr auto; }
  .win-dur, .win-usd { display: none; }
}
