html, body {
  margin: 0;
  background: #000;
  color: #f2f2f2;
}
body {
  font: 13px/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace;
}
header, section, footer {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 14px;
  border-bottom: 1px solid #222;
}
.kicker { color: #8d8d8d; letter-spacing: 0.14em; margin-bottom: 6px; }
.head-side { display: flex; align-items: center; gap: 16px; }
.wallet {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #222;
}
.wallet button { margin-top: 0; }
.wallet button:disabled { color: #8d8d8d; cursor: default; }
h2 {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 400;
  color: #8d8d8d;
}
h2 span, .dim, #status, #next, footer, th { color: #8d8d8d; }
.readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #222;
}
.cell { padding: 18px 16px 18px 0; }
.cell b {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
pre, p { margin: 0; white-space: pre-wrap; }
.cols { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid #1c1c1c;
  font-weight: 400;
  vertical-align: top;
}
.num { text-align: right; font-variant-numeric: tabular-nums; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #1c1c1c;
}
button {
  margin-top: 12px;
  font: inherit;
  color: #f2f2f2;
  background: #000;
  border: 1px solid #333;
  padding: 8px 12px;
  cursor: pointer;
}
button.mint {
  margin-top: 0;
  background: #f2f2f2;
  color: #000;
  border-color: #f2f2f2;
  padding: 10px 22px;
  letter-spacing: 0.12em;
}
#regmsg { margin-top: 12px; }
footer { padding: 28px 0 64px; overflow-wrap: anywhere; }
.empty { color: #8d8d8d; }
.board { display: block; }
.pass { padding: 14px 0; border-bottom: 1px solid #1c1c1c; }
.pass .top { display: flex; justify-content: space-between; gap: 16px; color: #8d8d8d; }
.pass code { display: block; margin-top: 8px; letter-spacing: 0.08em; word-break: break-all; }
.pass .hex { color: #f2f2f2; font-size: 15px; line-height: 1.55; }
@media (max-width: 1100px) {
  .readout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  header, .wallet, .head-side, .pass .top, .row { flex-wrap: wrap; }
  .readout, .cols { grid-template-columns: 1fr; }
  .cell b { font-size: 22px; }
  .pass .hex { letter-spacing: 0.02em; font-size: 13px; }
  #status { white-space: nowrap; }
}
