@font-face {
  font-family: Instrument;
  src: url("/assets/instrument-sans.woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Editorial;
  src: url("/assets/instrument-serif.woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/assets/ibm-plex-mono.woff2");
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --ink: light-dark(#281f19, #f6e8da);
  --paper: light-dark(#f8f5ee, #1b1613);
  --surface: light-dark(#fffcf6, #271f1a);
  --inset: light-dark(#f5efe5, #30261f);
  --tile: light-dark(#f3e7d8, #382c24);
  --line: light-dark(#ded4c6, #493b30);
  --strong-line: light-dark(#cbbdab, #665246);
  --muted: light-dark(#665d52, #c5b4a1);
  --accent: light-dark(#934722, #ffad77);
  --brand: light-dark(#934722, #ffad77);
  --action: light-dark(#934722, #ff985b);
  --on-action: light-dark(white, #281f19);
  --positive: light-dark(#117a61, #6ad2ab);
  --success-tint: light-dark(#eaf7f1, #1b3833);
  --shadow: 0 2px 6px light-dark(rgb(62 40 23 / 5%), rgb(0 0 0 / 14%));
  --mono: Plex, ui-monospace, monospace;
  color: var(--ink);
  background: var(--paper);
  font:
    14px/1.5 Instrument,
    system-ui,
    sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
:where(a, summary, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
.wrap {
  width: min(1360px, calc(100% - clamp(32px, 8vw, 112px)));
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 8;
  top: -60px;
  left: 8px;
  padding: 8px 14px;
  background: var(--surface);
}
.skip:focus {
  top: 8px;
}
.paging,
.card-foot-link,
.object {
  display: flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font:
    650 30px/0.95 Instrument,
    sans-serif;
  letter-spacing: -0.08em;
}
.brand:hover {
  text-decoration: none;
}
.brand i {
  height: 0.84em;
  width: 0.84em;
  align-self: center;
  background: currentColor;
  mask: url("/assets/mark.webp") center / contain no-repeat;
}
.brand em {
  margin-inline-start: 0.2em;
  font:
    italic 1.15em/0.8 Editorial,
    Georgia,
    serif;
  color: var(--brand);
  letter-spacing: -0.04em;
}
.hero {
  position: relative;
  isolation: isolate;
  color: #fff4de;
}
.hero-field {
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
  overflow: hidden;
  background: linear-gradient(110deg, #281c17 8%, #3d281c 62%, #734026 100%);
}
body {
  overflow-x: clip;
}
.hero-field svg {
  width: 100%;
  height: 100%;
  display: block;
}
.field-contours {
  fill: none;
  stroke: #e6ad82;
  opacity: 0.34;
  stroke-width: 1;
}
.hero h1 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 580;
  margin: 0 0 20px;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--strong-line);
  background: var(--surface);
  border-radius: 8px;
  padding: 3px;
  max-width: 100%;
  color: var(--ink);
}
.search-large {
  width: min(100%, 725px);
  padding: 4px;
  box-shadow: 0 3px 12px #24160e35;
}
.search select {
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-right: 1px solid var(--line);
  max-width: 120px;
  padding: 6px 6px 6px 10px;
}
.search input,
.reader input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 7px 10px;
}
.search input::placeholder,
.reader input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-large input {
  padding: 10px 12px;
}
.search button,
.reader button,
.compare button {
  border: 0;
  background: var(--action);
  color: var(--on-action);
  border-radius: 5px;
}
.search button[type="submit"] {
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 25px;
}
.search-large button[type="submit"] {
  min-width: 39px;
  height: 37px;
}
.search .search-input:focus {
  outline: none;
  box-shadow: none;
}
.search:has(.search-input:focus) button[type="submit"] {
  filter: brightness(1.13);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.gas-history {
  margin: 0;
  min-width: 0;
  padding: 0 clamp(16px, 2vw, 32px);
}
.stat-icon {
  width: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.stat-icon .icon {
  width: 23px;
  height: 23px;
}
.gas-history figcaption {
  font-size: 11px;
  font-weight: 590;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  color: var(--muted);
}
.chart-axis {
  font-size: 11px;
  color: var(--muted);
}
.gas-history {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gas-history svg {
  width: 100%;
  height: 66px;
  color: var(--accent);
  overflow: visible;
  margin: 5px 0;
}
.chart-rules {
  fill: none;
  stroke: var(--line);
  stroke-dasharray: 3 3;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
}
.chart-axis a {
  color: var(--muted);
}
.feeds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  margin: 16px 0;
  overflow: hidden;
}
.feeds .card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.card-head {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.card-title,
.log h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.card-body,
.card-foot {
  padding: 14px 20px;
}
.card-flush .card-body {
  padding: 0;
}
.card-foot {
  display: flex;
  justify-content: center;
  background: var(--inset);
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 10px;
}
.card-foot-link {
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.065em;
  font-weight: 620;
  text-transform: uppercase;
  color: var(--muted);
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0 18px;
}
.feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(36px, auto);
  align-items: center;
  gap: 9px;
  min-height: 65px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.feed-row:last-child {
  border: 0;
}
.feed-cell,
.object > div {
  min-width: 0;
}
.object {
  gap: 10px;
}
.feed-cell strong,
.feed-cell small,
.party {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-cell strong {
  font-size: 14px;
  font-weight: 570;
}
.feed-cell small {
  font-size: 12px;
  color: var(--muted);
}
.party {
  font-size: 12px;
}
.feed-cell .mono {
  font-size: 12px;
}
.feed-cell:last-child {
  text-align: right;
}
.tile {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--tile);
  color: var(--muted);
}
.tile.round {
  border-radius: 50%;
}
.amount,
.method-tag {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  font:
    11px/1.5 Instrument,
    sans-serif;
  background: var(--inset);
}
.amount {
  max-width: 85px;
}
.amount small {
  display: inline;
  font-size: inherit;
}
.page-title {
  padding: 27px 0 2px;
}
.page-title h1 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 0 0 6px;
}
.page-title p,
.empty,
.paging span,
.card dt {
  color: var(--muted);
}
.page-title p {
  margin: 6px 0;
  max-width: 78ch;
}
.empty {
  padding: 10px 18px;
}
.card dl {
  margin: 0;
}
.card dl > div {
  display: grid;
  grid-template-columns: minmax(125px, 25%) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.card dl > div:last-child {
  border-bottom: 0;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
code,
pre,
.mono {
  font: 12px/1.55 var(--mono);
  overflow-wrap: anywhere;
}
.scroll-table {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}
td,
th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 12px;
  font-weight: 610;
  background: var(--inset);
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--inset);
}
.bytes {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.bytes summary {
  padding: 9px 12px;
}
.bytes summary span {
  float: right;
  color: var(--muted);
  font: 12px/1.8 var(--mono);
}
.bytes pre {
  border-top: 1px solid var(--line);
  padding: 12px;
  max-height: 17em;
  white-space: pre-wrap;
  overflow: auto;
  background: var(--inset);
  margin: 0;
}
.positive,
.outcome {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 600;
}
.positive {
  color: var(--positive);
  background: var(--success-tint);
}
.outcome {
  color: var(--ink);
  background: var(--inset);
}
.log + .log {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.log h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.paging {
  justify-content: flex-end;
  gap: 12px;
  margin: 18px 0;
  font-size: 13px;
}
.paging a {
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--surface);
}
.reader {
  margin: 15px 0;
}
.reader label {
  display: block;
  margin: 0 0 5px;
}
.reader div {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
}
.reader button,
.compare button {
  padding: 5px 12px;
}
.compare {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.compare textarea {
  width: 100%;
  font: 13px var(--mono);
  background: var(--inset);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px;
  resize: vertical;
}
.compare button {
  justify-self: start;
}
body > footer {
  margin-top: 42px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.live:not(:empty) {
  border: 1px solid var(--line);
  background: var(--inset);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 14px;
}
@media (max-width: 1090px) {
  .feeds {
    grid-template-columns: 1fr;
  }
  .feed-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(64px, auto);
  }
}
@media (max-width: 740px) {
  .gas-history {
    grid-column: 1/-1;
    margin: 14px 15px 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
  }
  .gas-history svg {
    height: 48px;
  }
  .card-head,
  .card-body {
    padding: 13px 15px;
  }
  .card dl > div {
    grid-template-columns: minmax(85px, 27%) minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .brand {
    font-size: 26px;
  }
  .search-large select {
    max-width: 91px;
    font-size: 12px;
    padding-left: 4px;
  }
  .search-large input {
    padding: 9px 6px;
    font-size: 13px;
  }
  .search-large button[type="submit"] {
    min-width: 33px;
    height: 33px;
  }
  .stat-icon {
    width: 18px;
  }
  .stat-icon .icon {
    width: 17px;
  }
  .gas-history figcaption {
    font-size: 10px;
  }
  .feed {
    padding: 0 10px;
  }
  .feed-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr) auto;
    gap: 5px;
    min-height: 60px;
  }
  .tile {
    display: none;
  }
  .feed-cell strong,
  .feed-cell .mono,
  .party {
    font-size: 11px;
  }
  .feed-cell small {
    font-size: 10px;
  }
  .amount {
    font-size: 10px;
    max-width: 48px;
  }
  .card-foot-link {
    font-size: 10px;
  }
  .card-head {
    padding: 12px;
  }
  .hero-field .field-contours {
    opacity: 0.18;
  }
}

.record-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.record-nav a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 550;
  font-size: 13px;
}
.record-nav a[aria-current] {
  background: var(--action);
  border-color: var(--action);
  color: var(--on-action);
}
@media (max-width: 410px) {
  .record-nav a {
    font-size: 12px;
    padding: 5px 8px;
  }
}
.tool-directory .icon {
  flex: none;
  color: var(--brand);
}
.tool-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 14px;
}
.tool-directory nav {
  display: grid;
}
.tool-directory nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-radius: 4px;
}
.tool-directory nav a:hover {
  background: var(--inset);
}
.tool-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 5px 0;
}
.tool-form label {
  display: grid;
  gap: 5px;
  font-weight: 550;
}
.tool-form input,
.tool-form textarea,
.tool-form select {
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--strong-line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 400;
}
.tool-form textarea {
  font: 13px var(--mono);
  resize: vertical;
}
.tool-form button,
.watch-list button {
  justify-self: start;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: var(--action);
  color: var(--on-action);
  cursor: pointer;
}
.tool-form .record-nav {
  margin: 0 0 3px;
}
.tool-output {
  max-height: 22rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  background: var(--inset);
  border-radius: 6px;
}
.tool-error {
  color: light-dark(#963b24, #ffab92);
}
.watch-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.watch-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.watch-list .mono {
  min-width: 0;
  overflow-wrap: anywhere;
}
.watch-list button {
  flex: none;
  background: var(--inset);
  color: var(--ink);
}
