:root {
  color-scheme: dark;
  --bg: #0c0e0f;
  --panel: #131617;
  --line: #2c3031;
  --muted: #a1a7aa;
  --fg: #f0f2ef;
  --lime: #c4f67a;
  --teal: #7acdc9;
  --amber: #ddb778;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--fg);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
::selection {
  background: #b7ed71;
  color: #102000;
}
button {
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.wrap {
  width: min(1320px, calc(100% - 96px));
  margin: auto;
}
header {
  border-bottom: 1px solid var(--line);
  background: #111314;
}
.top {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 55px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.brand b {
  font-size: 21px;
  letter-spacing: -0.8px;
}
.brand span {
  font-weight: 450;
  color: #d2d3d0;
}
.brand:hover {
  text-decoration: none;
}
.top nav {
  display: flex;
  gap: 27px;
  height: 100%;
  align-items: center;
}
.top nav a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 520;
}
.top nav a:hover,
.top nav a.active {
  color: var(--fg);
  text-decoration: none;
}
.network {
  margin-left: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d3d6d4;
}
.btc {
  background: #dfa14d;
  color: #171009;
  display: inline-grid;
  place-content: center;
  font: bold 15px Georgia;
  border-radius: 50%;
  width: 19px;
  height: 19px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
section[id] {
  scroll-margin-top: 16px;
}
#overview {
  padding-top: 39px;
}
.titlebar,
.section-head,
.modebar,
.panelhead,
.table-tools,
.pager,
.chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tokenline {
  display: flex;
  gap: 14px;
  align-items: center;
}
.tokenline h1 {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 735;
}
.tag,
.block-label,
.panel-note,
#results,
.pager,
.sync,
.chart-foot {
  color: var(--muted);
  font-size: 13px;
}
.tag {
  padding: 3px 8px;
  border: 1px solid #424849;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0.025em;
}
.subtitle {
  margin-top: 7px;
  color: #b4b9b8;
  font-size: 15px;
}
.refresh,
.pager button,
.detail-btn {
  border: 1px solid #383e40;
  border-radius: 7px;
  background: #1b1e20;
  padding: 8px 12px;
  font-size: 14px;
}
.refresh {
  display: flex;
  align-items: center;
  gap: 8px;
}
.refresh:hover,
.pager button:enabled:hover,
.detail-btn:hover {
  background: #2d3333;
}
.modebar {
  margin-top: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.switch,
.tiny-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 7px;
  background: #1a1d1e;
}
.switch button,
.tiny-switch button,
.table-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  white-space: nowrap;
}
.switch button {
  padding: 6px 13px;
  font-size: 14px;
}
.switch button[aria-pressed="true"] {
  background: #dce4d8;
  color: #141815;
  font-weight: 650;
}
.switch button:hover:not([aria-pressed="true"]),
.tiny-switch button:hover,
.table-tabs button:hover {
  color: var(--fg);
  background: #242829;
}
.metrics {
  display: grid;
  grid-template-columns: 1.13fr 1.05fr 1fr 1fr;
  padding: 24px 0 27px;
}
.metrics > div {
  border-left: 1px solid var(--line);
  padding: 0 0 0 25px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metrics > div:first-child {
  border: 0;
  padding-left: 0;
}
.metrics span {
  font-size: 14px;
  color: #c3c8c7;
}
.metrics i {
  font-size: 11px;
  font-style: normal;
  margin-left: 3px;
  color: var(--muted);
}
.metrics strong,
.verify > strong {
  font-size: 36px;
  letter-spacing: -1.3px;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.metrics .accent {
  color: var(--lime);
}
.metrics small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.boards {
  display: grid;
  grid-template-columns: minmax(0, 1.94fr) minmax(270px, 1fr);
  gap: 16px;
}
.panel {
  padding: 21px 23px 17px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.panelhead h2 {
  font-size: 19px;
  letter-spacing: -0.025em;
}
.tiny-switch button {
  padding: 4px 10px;
  font-size: 12px;
}
.tiny-switch button[aria-pressed="true"] {
  background: #353b3b;
  color: var(--fg);
}
.panel-note {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.plot-area {
  position: relative;
  margin-top: 9px;
  height: 158px;
}
.plot-area svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-foot {
  font-size: 12px;
  margin-top: 8px;
}
.chart-foot b {
  font-weight: 450;
}
.keyline {
  display: inline-block;
  background: var(--lime);
  width: 17px;
  height: 3px;
  margin: 0 7px 3px 0;
  border-radius: 2px;
}
.tip {
  position: absolute;
  top: 8px;
  z-index: 1;
  border: 1px solid #53604e;
  background: #1d241f;
  padding: 5px 8px;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
}
.info {
  color: var(--muted);
  font: 600 13px Georgia;
  width: 17px;
  height: 17px;
  border: 1px solid #778080;
  border-radius: 50%;
  text-align: center;
  line-height: 15px;
}
.verify > strong {
  display: block;
  margin-top: 12px;
  font-size: 32px;
}
.strip {
  display: flex;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 2px;
  margin: 14px 0;
}
.strip span + span {
  border-left: 1px solid var(--panel);
}
dl {
  margin: 0;
}
.verify dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.verify dt,
.verify dd {
  font-size: 13px;
}
.verify dt {
  color: #cbd0cd;
}
.verify dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
}
.sync {
  padding: 10px 0 0;
  font-size: 12px;
  color: #a2aaa7;
}
.section-head h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
}
.section-head p {
  font-size: 14px;
  margin-top: 4px;
  color: var(--muted);
}
#ledger,
#rules {
  margin-top: 42px;
}
.search {
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #424848;
  padding: 5px 5px 5px 15px;
  background: #16191a;
  max-width: 780px;
}
.search:focus-within {
  border-color: var(--lime);
}
.search svg {
  color: #aeb6b3;
  flex-shrink: 0;
}
.search input {
  outline: none;
  background: transparent;
  border: 0;
  color: var(--fg);
  min-width: 0;
  flex: 1;
  padding: 7px 0;
  font-size: 15px;
  caret-color: var(--lime);
}
.search input::placeholder {
  color: #a1a7a6;
}
.search button[type="submit"] {
  background: var(--lime);
  color: #152204;
  border: 0;
  border-radius: 5px;
  padding: 7px 19px;
  font-weight: 650;
  font-size: 14px;
}
.search button[type="submit"]:hover {
  background: #d9ff9f;
}
#clear {
  background: transparent;
  color: #b6bfbb;
  border: 0;
  font-size: 13px;
}
.table-tools {
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.table-tabs {
  display: flex;
  gap: 20px;
  align-self: stretch;
}
.table-tabs button {
  position: relative;
  padding: 9px 0;
  font-size: 14px;
  border-radius: 0;
}
.table-tabs button[aria-pressed="true"] {
  color: var(--fg);
  font-weight: 650;
}
.table-tabs button[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--lime);
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  font-size: 14px;
}
th {
  color: var(--muted);
  font-weight: 450;
  font-size: 12px;
}
th,
td {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid #272b2c;
}
th:last-child,
td:last-child {
  text-align: right;
  padding-right: 0;
}
.mono,
td .idlink,
.detail address,
.full {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.mono {
  font-size: 13px;
}
.link,
.idlink {
  padding: 0;
  border: 0;
  background: none;
  color: #d8e7cf;
  text-underline-offset: 3px;
}
.link:hover,
.idlink:hover {
  text-decoration: underline;
}
.detail-btn {
  font-size: 12px;
  padding: 4px 9px;
}
.pager {
  margin-top: 14px;
  font-size: 12px;
}
.pager button {
  font-size: 12px;
  margin-left: 6px;
  padding: 5px 9px;
}
.empty,
.detail {
  padding: 22px;
  background: #151819;
  color: #c6cdca;
  font-size: 14px;
  white-space: normal;
}
.detail dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 7px 16px;
}
.detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail dt {
  color: var(--muted);
}
.detail a,
.sources a,
.method a {
  color: var(--lime);
  text-underline-offset: 4px;
}
.detail a:hover,
.sources a:hover {
  text-decoration: underline;
}
.detail-actions {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.detail-row td {
  text-align: left;
}
.result-info {
  color: #d6ded8;
  background: #181e19;
  padding: 9px 12px;
  font-size: 14px;
  margin: 10px 0;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.rulegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 22px 0;
}
.rulegrid h3 {
  font-size: 16px;
}
.rulegrid p,
.method p {
  color: #b1b9b5;
  font-size: 14px;
  line-height: 1.75;
  margin-top: 6px;
}
.method {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 15px;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  list-style: none;
  margin-bottom: 0;
  font-size: 14px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
footer .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
footer b {
  color: #ced5d1;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .top {
    gap: 30px;
  }
  .metrics > div {
    padding-left: 13px;
  }
  .metrics strong {
    font-size: 30px;
  }
  .panel {
    padding: 16px;
  }
  .boards {
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr);
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top {
    height: 54px;
    gap: 14px;
  }
  .brand b {
    font-size: 17px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .top nav {
    gap: 14px;
    margin-left: auto;
  }
  .top nav a {
    font-size: 13px;
  }
  .network {
    display: none;
  }
  #overview {
    padding-top: 24px;
  }
  .tokenline h1 {
    font-size: 43px;
  }
  .modebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
    padding-bottom: 12px;
  }
  .switch button {
    font-size: 13px;
    padding: 6px 10px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 19px 0;
    padding: 18px 0;
  }
  .metrics > div:nth-child(3) {
    padding-left: 0;
    border: 0;
  }
  .metrics strong {
    font-size: 30px;
  }
  .metrics > div {
    gap: 2px;
  }
  .metrics small {
    font-size: 11px;
  }
  .boards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .verify {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
    column-gap: 16px;
  }
  .verify .panelhead {
    grid-column: 1/-1;
  }
  .verify > strong {
    grid-column: 1;
    grid-row: 2;
    margin-top: 10px;
  }
  .verify > .panel-note {
    grid-column: 1;
    grid-row: 3;
  }
  .verify .strip {
    grid-column: 1;
    grid-row: 4;
    margin: 9px 0 0;
  }
  .verify dl {
    grid-column: 2;
    grid-row: 2/5;
  }
  .verify dl > div {
    margin-top: 4px;
  }
  .plot-area {
    height: 140px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  #ledger,
  #rules {
    margin-top: 32px;
  }
  .section-head {
    align-items: flex-start;
  }
  .table-tabs {
    gap: 12px;
  }
  .table-tabs button,
  #results {
    font-size: 12px;
  }
  .table-tools {
    gap: 6px;
  }
  .search {
    padding-left: 9px;
  }
  .search input {
    font-size: 14px;
  }
  .search button[type="submit"] {
    padding: 7px 11px;
  }
  .rulegrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .detail dl {
    display: block;
  }
  .detail dd {
    margin-bottom: 7px;
  }
  .subtitle {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.scope {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.scope select {
  background: #202525;
  color: #e0e7df;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px;
  font: inherit;
}
.scope + .search {
  margin-top: 10px;
}
.top nav a.active {
  color: var(--lime);
}

button.term-help,
.switch button.term-help {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-inline-start: 3px;
  font: 600 12px/1 system-ui;
  color: #bdc9c1;
  background: transparent;
  border: 1px solid #68766d;
  border-radius: 50%;
  cursor: help;
  flex: none;
}
button.term-help:hover,
button.term-help:focus-visible,
.switch button.term-help:hover {
  color: var(--lime);
  border-color: var(--lime);
  background: #242b23;
}
.term-tip {
  position: fixed;
  z-index: 50;
  width: max-content;
  max-width: min(305px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow: auto;
  padding: 11px 14px;
  color: #e1e8e2;
  background: #202623;
  border: 1px solid #566355;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.term-tip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--lime);
}
#glossary {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 3fr;
  gap: 12px 24px;
  margin: 16px 0 4px;
}
#glossary dt {
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
#glossary dd {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.switch {
  align-items: center;
}
.switch .term-help {
  margin-inline: 0 6px;
}
@media (max-width: 680px) {
  .switch {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .switch button[data-mode] {
    padding-inline: 6px;
  }
  .switch button.term-help {
    width: 18px;
    height: 18px;
    margin: 0 2px 0 0;
  }
  .verify dl > div {
    gap: 5px;
  }
  #glossary {
    display: block;
  }
  #glossary dd {
    margin-bottom: 12px;
  }
}
