@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

/* HashOre: the page is a mine shaft. Sections are strata, lighter at the surface and darker at depth.
   Bright color is reserved for ore: it always means rarity. */

:root {
  --s1: #d5d7d0; /* surface limestone */
  --s2: #b4b8b0;
  --s3: #61666d;
  --s4: #3d4249;
  --s5: #2a2e34;
  --s6: #191c20; /* bedrock */

  --ink: #1b1e22;
  --ink-soft: #464b52;
  --fog: #eceee9;
  --fog-soft: #aab0b6;

  --coal: #b4b6c2;
  --iron: #e2b48f;
  --copper: #f08a4b;
  --silver: #d3dde4;
  --gold: #ffd447;
  --diamond: #5ef2f2;

  --danger: #ff8a7a;
  --ok: #8fe3a5;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --step: 8px;
  --max: 1200px;
  --radius: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--s6);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(60px, 9.5vw, 128px);
  font-weight: 900;
}

h2 {
  font-size: clamp(42px, 5.6vw, 72px);
}

h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

p {
  margin: 0;
  max-width: 62ch;
}

.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--ink-soft);
}

.dark .muted,
.dark.muted {
  color: var(--fog-soft);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--fog);
  padding: 8px 12px;
}

/* ───────── top bar ───────── */

.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(213, 215, 208, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(27, 30, 34, 0.12);
}

.bar-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 900 26px/1 var(--display);
}

.brand svg {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav .dev-link {
  color: var(--ink);
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

/* ───────── buttons: beveled blocks, like the ore art ───────── */

.btn {
  --bg: var(--ink);
  --fg: var(--fog);
  appearance: none;
  border: 0;
  cursor: pointer;
  font: 700 17px/1 var(--body);
  padding: 15px 22px 17px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.14), inset 0 -4px 0 rgba(0, 0, 0, 0.38);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.06s ease;
  white-space: nowrap;
}

.btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.38);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.btn.light {
  --bg: var(--fog);
  --fg: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn.small {
  font-size: 15px;
  padding: 10px 14px 12px;
}

.btn.wide {
  width: 100%;
}

.btn.connect {
  padding: 11px 16px 13px;
  font-size: 15px;
  margin-left: auto;
}

/* ───────── strata ───────── */

.stratum {
  position: relative;
  padding: 96px 24px 120px;
}

.stratum > .in {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.s1 { background: var(--s1); }
.s2 { background: var(--s2); }
.s3 { background: var(--s3); color: var(--fog); }
.s4 { background: var(--s4); color: var(--fog); }
.s5 { background: var(--s5); color: var(--fog); }
.s6 { background: var(--s6); color: var(--fog); }

/* Stepped pixel edge where one stratum meets the next. */
.stratum::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 24px;
  background: var(--next);
  clip-path: polygon(
    0 100%, 0 50%, 6% 50%, 6% 0, 13% 0, 13% 50%, 21% 50%, 21% 100%, 27% 100%, 27% 50%, 33% 50%, 33% 0,
    44% 0, 44% 50%, 51% 50%, 51% 100%, 58% 100%, 58% 50%, 64% 50%, 64% 0, 71% 0, 71% 50%, 79% 50%, 79% 0,
    88% 0, 88% 50%, 94% 50%, 94% 100%, 100% 100%
  );
}

.s1 { --next: var(--s2); }
.s2 { --next: var(--s3); }
.s3 { --next: var(--s4); }
.s4 { --next: var(--s5); }
.s5 { --next: var(--s6); }
.s6::after { display: none; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head p {
  font-size: 19px;
}

/* ───────── hero ───────── */

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero .lede {
  font-size: 20px;
  margin-bottom: 32px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Supply as a cross-section of the five eras. */
.shaft {
  margin-top: 56px;
}

.shaft-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.shaft-count {
  font: 800 44px/1 var(--display);
}

.shaft-bands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.band {
  position: relative;
  height: 44px;
  background: rgba(27, 30, 34, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.band .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.12), inset 0 -4px 0 rgba(0, 0, 0, 0.4);
}

.band-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 8px;
  font-size: 14px;
}

.band-labels b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
}

.band-labels .now b::after {
  content: " now";
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Live hashing console. */
.console {
  background: var(--s6);
  color: var(--fog);
  border-radius: 4px;
  padding: 22px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.06), inset 0 -6px 0 rgba(0, 0, 0, 0.5), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.console-top {
  display: grid;
  grid-template-columns: 1fr 172px;
  gap: 20px;
  align-items: start;
}

.console-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.stream {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  height: calc(1.75em * 9);
  overflow: hidden;
  color: #6f767e;
  margin-top: 12px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
}

.stream .z {
  color: var(--fog);
  font-weight: 600;
}

.stream .hit {
  color: var(--gold);
}

.best-block {
  width: 172px;
  height: 172px;
}

.best-block svg {
  width: 100%;
  height: 100%;
}

.console-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.metric b {
  display: block;
  font: 800 30px/1 var(--display);
  margin-bottom: 4px;
}

.metric span {
  font-size: 14px;
  color: var(--fog-soft);
}

.console-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--fog-soft);
}

/* ───────── mine ───────── */

.mine-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
}

.panel {
  background: var(--s1);
  border-radius: 4px;
  padding: 28px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.45), inset 0 -5px 0 rgba(0, 0, 0, 0.12);
}

.panel.dark {
  background: var(--s5);
  color: var(--fog);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.05), inset 0 -5px 0 rgba(0, 0, 0, 0.4);
}

.panel h3 {
  margin-bottom: 8px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 8px;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.checks li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: rgba(27, 30, 34, 0.25);
  transform: translateY(-1px);
}

.checks li.yes::before { background: #2f7d48; }
.checks li.no::before { background: #b2402f; }

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label,
.field .label {
  font-weight: 700;
  font-size: 15px;
}

input,
select {
  font: 400 17px/1.2 var(--body);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 2px solid rgba(27, 30, 34, 0.25);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.dark input,
.dark select,
.devpage input,
.s4 select,
.s4 input {
  background: var(--s6);
  color: var(--fog);
  border-color: rgba(255, 255, 255, 0.16);
}

.targets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.target {
  appearance: none;
  border: 2px solid transparent;
  background: var(--s6);
  border-radius: var(--radius);
  padding: 8px 4px 6px;
  cursor: pointer;
  color: var(--fog);
  font: 700 13px/1.1 var(--body);
  display: grid;
  justify-items: center;
  gap: 6px;
}

.target .sw {
  width: 100%;
  aspect-ratio: 1;
}

.target[aria-pressed="true"] {
  border-color: var(--ink);
  outline: 2px solid var(--fog);
  outline-offset: -4px;
}

.meter {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.meter .metric b {
  font-size: 34px;
}

.meter .metric span {
  color: var(--ink-soft);
}

.progress {
  height: 14px;
  background: rgba(27, 30, 34, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.4s linear;
}

.found {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--s6);
  color: var(--fog);
  padding: 16px;
  border-radius: 4px;
  margin: 16px 0;
}

.found .art {
  width: 120px;
  height: 120px;
}

.stepper {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 6px;
}

.stepper input {
  text-align: center;
  font: 800 28px/1 var(--display);
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 18px 0;
  padding-top: 14px;
  border-top: 2px solid rgba(27, 30, 34, 0.12);
}

.total b {
  font: 800 34px/1 var(--display);
}

.fine {
  font-size: 14px;
  margin-top: 14px;
}

/* ───────── ores ───────── */

.specimens {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.specimen .sw {
  aspect-ratio: 1;
  margin-bottom: 14px;
}

.specimen h3 {
  font-size: 34px;
}

.specimen .rar {
  font-weight: 700;
  margin: 4px 0 10px;
}

.specimen dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  font-size: 15px;
  color: rgba(236, 238, 233, 0.78);
}

.specimen dd {
  margin: 0;
  color: var(--fog);
  text-align: right;
}

.t0 { color: var(--coal); }
.t1 { color: var(--iron); }
.t2 { color: var(--copper); }
.t3 { color: var(--silver); }
.t4 { color: var(--gold); }
.t5 { color: var(--diamond); }

.rule-note {
  margin-top: 40px;
  font-size: 19px;
}

/* ───────── market ───────── */

.mstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mstats .metric {
  padding: 18px 0;
}

.mstats .metric + .metric {
  padding-left: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
}

.filters .field {
  margin: 0;
  min-width: 170px;
}

.seg {
  display: inline-flex;
  background: var(--s6);
  border-radius: var(--radius);
  padding: 4px;
  gap: 4px;
}

.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fog-soft);
  font: 700 15px/1 var(--body);
  padding: 10px 14px;
  border-radius: 2px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: var(--fog);
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--s6);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card .art {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
}

.card-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price b {
  font: 800 28px/1 var(--display);
}

.price small {
  font-size: 14px;
  color: var(--fog-soft);
}

.empty {
  padding: 48px 24px;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.activity {
  margin-top: 56px;
}

.activity h3 {
  margin-bottom: 16px;
}

.sales {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sales li {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.07);
}

.sales .sw {
  width: 44px;
  height: 44px;
}

.sales .when {
  color: var(--fog-soft);
  font-size: 15px;
  min-width: 90px;
  text-align: right;
}

/* ───────── agents ───────── */

.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps li {
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  display: block;
  font: 900 56px/1 var(--display);
  color: var(--s4);
  margin-bottom: 8px;
}

.steps b {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

pre {
  margin: 0;
  background: #0f1114;
  color: #d7dbe0;
  padding: 20px 22px;
  border-radius: 4px;
  overflow-x: auto;
  font: 400 14px/1.7 var(--mono);
}

pre .c {
  color: #6f767e;
}

.foot {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 15px;
  color: var(--fog-soft);
}

.foot dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
}

.foot dt {
  color: var(--fog);
}

.foot dd {
  margin: 0;
  word-break: break-all;
}

/* ───────── dev panel ───────── */

.devpage {
  min-height: 100vh;
  background: var(--s5);
  color: var(--fog);
  padding: 56px 24px 96px;
}

.devpage > .in {
  max-width: var(--max);
  margin: 0 auto;
}

.dev-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 40px;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.dev-grid .panel {
  background: var(--s4);
  color: var(--fog);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.05), inset 0 -5px 0 rgba(0, 0, 0, 0.35);
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.big {
  font: 900 64px/1 var(--display);
  margin: 16px 0 6px;
}

.big small {
  font-size: 28px;
  font-weight: 700;
  color: var(--fog-soft);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0 20px;
}

.pair .big {
  font-size: 48px;
  margin: 6px 0 4px;
}

.pips {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  margin: 20px 0 12px;
}

.pip {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.pip.on {
  background: var(--fog);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.35);
}

.row {
  display: flex;
  gap: 10px;
  align-items: end;
}

.row .field {
  flex: 1;
  margin: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: var(--danger);
}

.status.on::before {
  background: var(--ok);
}

.kv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.divide {
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  margin: 22px 0;
}

/* ───────── banner, dialogs, toasts ───────── */

.demo-banner {
  background: var(--ink);
  color: var(--fog);
  font-size: 15px;
}

.demo-banner .in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.demo-banner label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  margin-left: auto;
  cursor: pointer;
}

.demo-banner input {
  width: auto;
}

dialog {
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: var(--s5);
  color: var(--fog);
  width: min(460px, calc(100vw - 32px));
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}

dialog::backdrop {
  background: rgba(10, 12, 14, 0.66);
}

.dlg {
  padding: 26px;
}

.dlg h3 {
  margin-bottom: 18px;
}

.dlg-top {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.dlg-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

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

.wallet-list button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
}

.wallet-list img {
  width: 26px;
  height: 26px;
}

.toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 40px));
}

.toast {
  background: var(--fog);
  color: var(--ink);
  border-radius: 4px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  border-left: 6px solid var(--ink-soft);
  font-size: 15px;
}

.toast b {
  display: block;
}

.toast.ok { border-left-color: #2f7d48; }
.toast.err { border-left-color: #b2402f; }

.toast a {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

/* ───────── mint with your agent ───────── */

.soon-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px 2px;
  border-radius: 2px;
  background: rgba(27, 30, 34, 0.12);
  color: var(--ink-soft);
  margin-left: 2px;
}

.prompt {
  margin-top: 18px;
  background: var(--s6);
  color: var(--fog);
  border-radius: 4px;
  padding: 18px 20px;
  font: 400 15px/1.65 var(--mono);
  white-space: pre-wrap;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.05), inset 0 -4px 0 rgba(0, 0, 0, 0.45);
}

.divide-light {
  border-top: 2px solid rgba(27, 30, 34, 0.12);
  margin: 28px 0 20px;
}

.setup {
  margin: 14px 0 0;
  padding-left: 1.3em;
  display: grid;
  gap: 8px;
}

.setup li::marker {
  font-family: var(--display);
  font-weight: 800;
}

.rule-list {
  margin: 18px 0 0;
  display: grid;
  gap: 0;
}

.rule-list > div {
  padding: 14px 0;
  border-top: 2px solid rgba(27, 30, 34, 0.12);
}

.rule-list dt {
  font: 800 28px/1 var(--display);
  margin-bottom: 4px;
}

.rule-list dd {
  margin: 0;
}

/* ───────── market: soon ───────── */

.soon {
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 32px;
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.soon b {
  font: 800 40px/1 var(--display);
}

/* ───────── wallet lookup ───────── */

.lookup {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 20px;
}

.lookup input {
  flex: 1;
  min-width: 0;
  background: var(--s6);
  color: var(--fog);
  border-color: rgba(255, 255, 255, 0.16);
}

.wstatus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 3px;
  background: var(--s6);
  font-weight: 700;
  font-size: 15px;
}

.chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: var(--fog-soft);
}

.chip.yes::before { background: var(--ok); }
.chip.no::before { background: var(--danger); }

.dev-connect {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-top: 20px;
}

/* ───────── responsive ───────── */

@media (max-width: 1000px) {
  .hero-grid,
  .mine-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .specimens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .stratum {
    padding: 64px 16px 88px;
  }

  .bar-in {
    padding: 10px 16px;
    gap: 14px;
  }

  .bar-in {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .shaft-head {
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .console-top {
    grid-template-columns: 1fr;
  }

  .best-block {
    width: 120px;
    height: 120px;
  }

  .console-foot,
  .meter {
    grid-template-columns: 1fr 1fr;
  }

  .mstats,
  .kv {
    grid-template-columns: 1fr 1fr;
  }

  .mstats .metric + .metric {
    padding-left: 0;
    border-left: 0;
  }

  .specimens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .targets {
    grid-template-columns: repeat(3, 1fr);
  }

  .lookup {
    flex-direction: column;
  }

  .soon {
    padding: 22px;
  }

  .band-labels {
    font-size: 12px;
  }

  .band-labels b {
    font-size: 16px;
  }

  .foot {
    grid-template-columns: 1fr;
  }

  .sales li {
    grid-template-columns: 44px 1fr auto;
  }

  .sales .when {
    display: none;
  }

  .devpage {
    padding: 40px 16px 80px;
  }

  .big {
    font-size: 48px;
  }
}

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

  .progress i {
    transition: none;
  }
}
/* Real wallet administration; never expose the route in the public navigation. */
.mint-agent{color:#eceee9;font-weight:700;overflow-wrap:anywhere;text-decoration-color:#71767f;text-underline-offset:3px}
.mint-events{max-height:680px;overflow-y:auto;scrollbar-color:#71767f #2a2e34}
.activity-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0;color:#aab0b6;font-size:14px}.activity-toolbar [data-state="live"]::before{content:"";display:inline-block;width:8px;height:8px;background:#8fe3a5;border-radius:50%;margin-right:8px}.activity-toolbar [data-state="error"]{color:#ffc1a6}.mint-events{list-style:none;margin:0;padding:0;border-top:1px solid #545a61}.mint-event{display:flex;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid #545a61}.mint-art{width:76px;height:76px;flex:0 0 76px;display:block;background:#1b1e22;border-radius:3px;overflow:hidden}.mint-art svg{width:100%;height:100%;display:block}.mint-description{min-width:0}.mint-event-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:20px;font-weight:700}.mint-event-title>a{text-decoration:none}.mint-origin{font-size:12px;font-weight:400;border:1px solid #71767f;padding:2px 8px;border-radius:3px;color:#c7ccd1}.mint-by{margin-top:6px;font-size:14px;color:#aab0b6}.mint-wallet{overflow-wrap:anywhere;color:#eceee9}.mint-event-meta{font-size:12px;margin-top:8px;color:#aab0b6}.mint-event-meta a{color:#cbd0d5}.activity-empty{padding:28px 0;color:#aab0b6}@media(max-width:600px){.mint-event{gap:12px;align-items:flex-start}.mint-art{width:54px;height:54px;flex-basis:54px}.mint-event-title{font-size:17px;gap:8px}.mint-by{font-size:12px}.mint-event-meta{line-height:1.8}}
.mint-live{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:16px;font-size:13px;color:#464b52}.mint-live .btn{font-size:12px}
.devpage .panel{background:#3d4249;color:#eceee9;box-shadow:inset 0 3px 0 rgba(255,255,255,.05),inset 0 -5px 0 rgba(0,0,0,.35)}
.devpage .admin-facts dt{color:#bac0c6}.devpage .fine{color:#c2c7cd}
.admin-route #home,.admin-route #network-banner,.admin-route .nav{display:none!important}
.network-banner{padding:16px 0;background:#1c2025;color:#eceee9;font-size:14px;line-height:1.6}
.admin-wallet{margin:24px 0}.admin-facts{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px 20px;margin:22px 0}.admin-facts dt{color:#545a61}.admin-facts dd{margin:0;overflow-wrap:anywhere}.admin-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin-top:24px;align-items:end}.admin-fields label{display:grid;gap:8px}.admin-wallet p{overflow-wrap:anywhere}.devpage .panel p{margin:12px 0}.devpage .dev-head{padding-top:24px}.artwork-example{padding:28px}.artwork-example svg{display:block;width:100%;max-width:300px;margin:20px auto}.artwork-example p{color:#aab0b6}.dlg{display:grid;gap:12px}.specimen .sw svg{width:100%;height:100%}.card>svg{width:100%;height:auto}.devpage button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.admin-facts{grid-template-columns:1fr;gap:4px}.admin-facts dd{margin-bottom:12px}.admin-fields{grid-template-columns:1fr}.devpage .dev-head{display:grid;gap:16px}.devpage .cta{flex-wrap:wrap}}
