:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #f3f0e8;
  --beige: #d8c8ab;
  --orange: #ff5a1f;
  --muted: #918d84;
  --line: rgba(243, 240, 232, 0.18);
  --soft-line: rgba(243, 240, 232, 0.08);
  --display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
svg:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 64px), 1540px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--orange);
  color: var(--paper);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 40;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--orange);
  box-shadow: 5px 5px 0 rgba(255, 90, 31, 0.25);
}

.brand-sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.main-nav {
  align-self: stretch;
  display: flex;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:last-child {
  border-right: 1px solid var(--line);
}

.main-nav a span {
  color: var(--beige);
  font-size: 10px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(243, 240, 232, 0.035);
  color: var(--orange);
}

.explorer-search.header-search {
  align-self: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: clamp(300px, 36vw, 520px);
  height: 42px;
  margin-left: 16px;
  border-color: var(--line);
  background: rgba(243, 240, 232, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.explorer-search.header-search:focus-within {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.08);
}

.header-search-icon {
  align-self: center;
  width: 15px;
  height: 15px;
  margin-left: 13px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.4;
  transition: stroke 160ms ease;
}

.explorer-search.header-search:focus-within .header-search-icon {
  stroke: var(--orange);
}

.explorer-search.header-search input {
  height: 40px;
  padding: 0 12px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.explorer-search.header-search button {
  min-width: 100px;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--beige);
  font-size: 11px;
  transition: background 160ms ease, color 160ms ease;
}

.explorer-search.header-search button:hover {
  background: var(--orange);
  color: var(--paper);
}

.explorer-search.header-search button span {
  margin-left: 8px;
  color: var(--orange);
  transition: color 160ms ease;
}

.explorer-search.header-search button:hover span {
  color: var(--paper);
}

.header-search-result {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  width: min(720px, calc(100vw - 64px));
  margin-top: 0;
  transform: translateX(-50%);
  background: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

.network-state,
.live-label {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.header-status {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
  animation: signalPulse 2s ease-out infinite;
}

.hero {
  position: relative;
  padding-top: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  min-width: 0;
  padding: 30px 30px 42px 0;
  overflow: hidden;
  background-image: linear-gradient(to right, var(--soft-line) 1px, transparent 1px), linear-gradient(to bottom, var(--soft-line) 1px, transparent 1px);
  background-size: 84px 84px;
  background-position: -1px -1px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--beige);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  position: relative;
  z-index: 2;
}

.eyebrow span,
.section-label span {
  margin-right: 16px;
  color: var(--orange);
}

.display-title {
  position: relative;
  z-index: 1;
  margin: 40px 0 0;
  font-family: var(--display);
  font-size: clamp(6rem, 12.8vw, 12.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.75;
  text-transform: uppercase;
  white-space: nowrap;
}

.display-title > span {
  display: block;
}

.display-title i {
  color: var(--orange);
  font-style: normal;
}

.hero-geometry {
  position: absolute;
  right: 4%;
  bottom: 34px;
  z-index: 0;
  width: 190px;
  height: 100px;
}

.semicircle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 154px;
  height: 77px;
  border-radius: 154px 154px 0 0;
  background: var(--beige);
}

.orange-orbit {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px var(--ink), 0 0 0 9px var(--orange);
}

.hero-geometry.lighthouse-scene {
  right: 3%;
  bottom: 30px;
  width: 480px;
  height: 330px;
  pointer-events: none;
}

.lighthouse {
  width: 100%;
  height: 100%;
  display: block;
}

.lighthouse-beam {
  fill: url(#lighthouse-beam-gradient);
  transform-box: view-box;
  transform-origin: 190px 100px;
  animation: lighthouseSweep 10s ease-in-out infinite;
  will-change: transform;
}

.lighthouse-beam-start {
  stop-color: var(--orange);
  stop-opacity: 0.58;
}

.lighthouse-beam-end {
  stop-color: var(--orange);
  stop-opacity: 0;
}

.lighthouse-island,
.lighthouse-roof {
  fill: var(--beige);
}

.lighthouse-tower,
.lighthouse-gallery {
  fill: var(--paper);
}

.lighthouse-stripe,
.lighthouse-light,
.lighthouse-cap {
  fill: var(--orange);
}

.lighthouse-window {
  fill: var(--ink);
}

.lighthouse-lantern {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 3;
}

@keyframes lighthouseSweep {
  0%, 100% { transform: rotate(45deg); }
  50% { transform: rotate(-45deg); }
}

@media (max-width: 900px) {
  .hero-geometry.lighthouse-scene {
    right: 2%;
    width: 320px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .hero-geometry.lighthouse-scene {
    bottom: 20px;
    width: 140px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lighthouse-beam {
    animation: none;
  }
}

.hero-chain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hero-chain-slot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.95s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.6s ease;
}

.hero-chain-slot.is-dim {
  opacity: 0;
}

.hero-cube {
  color: var(--beige);
}

.hero-cube svg {
  width: 64px;
  height: 60px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}

.hero-cube .node-top,
.hero-cube .node-left,
.hero-cube .node-right {
  stroke: currentColor;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.hero-cube .node-top {
  fill: #11100e;
}

.hero-cube .node-left {
  fill: #090908;
}

.hero-cube .node-right {
  fill: #15130f;
}

.hero-cube.is-current .node-top {
  fill: var(--orange);
}

.hero-cube.is-current .node-left {
  fill: #9f2d0b;
}

.hero-cube.is-current .node-right {
  fill: #d74112;
}

.hero-cube.is-current svg {
  animation: headPulse 2.2s ease-in-out infinite;
}

.hero-cube.is-unconfirmed .node-top,
.hero-cube.is-unconfirmed .node-left,
.hero-cube.is-unconfirmed .node-right {
  stroke-dasharray: 5 4;
  animation: nodePulse 1.6s ease-in-out infinite;
}

.annotation-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.annotation {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 21px 0 22px;
  border-bottom: 1px solid var(--line);
}

.annotation span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.annotation strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.dot-matrix {
  background-image: radial-gradient(circle, var(--beige) 1.1px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.45;
}

.rail-matrix {
  width: 100%;
  min-height: 80px;
  margin-top: auto;
}

.signal-strip {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--paper);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.signal-strip span:last-child {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.search-section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 76px;
  border-bottom: 1px solid var(--line);
}

.search-content h2,
.section-heading h2 {
  margin: 14px 0 28px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.explorer-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--paper);
}

.explorer-search input {
  min-width: 0;
  height: 70px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  outline: 0;
}

.explorer-search input::placeholder,
.filter-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.explorer-search:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.explorer-search button {
  min-width: 150px;
  border: 0;
  background: var(--orange);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.explorer-search button span {
  margin-left: 16px;
}

.search-hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--beige);
  background: none;
  color: var(--beige);
}

.search-result {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
}

.result-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px;
}

.result-type {
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.result-main {
  min-width: 0;
}

.result-main strong {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-main small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.result-link {
  padding: 11px 14px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.result-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.result-empty {
  padding: 20px;
  color: var(--beige);
  line-height: 1.6;
}

.chain-section,
.account-dashboard,
.transaction-section {
  padding-top: 74px;
}

.chain-section {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.live-label {
  margin-bottom: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chain-section > .metric-grid {
  margin-top: 0;
}

.metric {
  min-width: 0;
  padding: 22px 18px 22px;
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.metric strong {
  display: block;
  overflow: hidden;
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.7vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric strong em {
  margin-left: 4px;
  color: var(--beige);
  font-size: 0.4em;
  font-style: normal;
}

.metric small {
  color: var(--beige);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.chain-panel {
  margin-top: 48px;
  border: 1px solid var(--line);
  background-image: linear-gradient(to right, var(--soft-line) 1px, transparent 1px), linear-gradient(to bottom, var(--soft-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.panel-meta,
.chain-caption,
.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.panel-meta {
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.api-control {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

#api-ping {
  color: var(--orange);
  white-space: nowrap;
}

.api-control select {
  width: 170px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink);
  color: var(--beige);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.api-control option {
  background: var(--ink);
  color: var(--paper);
}

.chain-window {
  position: relative;
  height: 222px;
  overflow: hidden;
}

.chain-line {
  position: absolute;
  top: 48%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.chain-track {
  width: 100%;
  height: 100%;
}

.chain-set {
  position: relative;
  width: 100%;
  height: 100%;
}

.chain-node {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  text-align: center;
  transition: left 0.95s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.6s ease;
}

.chain-set.is-snapped .chain-node {
  transition: none;
}

.chain-node svg {
  width: 88px;
  height: 82px;
  display: block;
  margin: 0 auto;
  overflow: visible;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}

.chain-node .node-top,
.chain-node .node-left,
.chain-node .node-right {
  stroke: currentColor;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.chain-node .node-top {
  fill: #11100e;
}

.chain-node .node-left {
  fill: #090908;
}

.chain-node .node-right {
  fill: #15130f;
}

.chain-node > em {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.chain-node > span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.chain-node > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.chain-node.is-current {
  color: var(--orange);
}

.chain-node.is-current > em {
  color: var(--orange);
}

.chain-node.is-unconfirmed .node-top,
.chain-node.is-unconfirmed .node-left,
.chain-node.is-unconfirmed .node-right {
  stroke-dasharray: 5 4;
  animation: nodePulse 1.6s ease-in-out infinite;
}

.chain-node.is-unconfirmed > em,
.chain-node.is-unconfirmed > span,
.chain-node.is-unconfirmed > small {
  color: var(--beige);
  animation: nodePulse 1.6s ease-in-out infinite;
}

.chain-node.is-current .node-top {
  fill: var(--orange);
}

.chain-node.is-current .node-left {
  fill: #9f2d0b;
}

.chain-node.is-current .node-right {
  fill: #d74112;
}

.chain-node.is-current > span,
.chain-node.is-current > small {
  color: var(--orange);
}

.chain-node.is-current svg {
  animation: headPulse 2.2s ease-in-out infinite;
}

@keyframes headPulse {
  0%, 100% {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 5px rgba(255, 90, 31, 0.2));
  }
  50% {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 22px rgba(255, 90, 31, 0.85));
  }
}

.chain-caption {
  min-height: 42px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
}

.chain-caption b {
  margin-left: 12px;
  color: var(--orange);
  font-size: 16px;
}

.latest-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  border-bottom: 1px solid var(--paper);
}

.latest-heading h3,
.empty-state h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.latest-heading {
  padding-bottom: 14px;
}

.latest-heading > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.data-table th {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: left;
}

.data-table td {
  min-width: 0;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--beige);
  font-size: 12px;
  line-height: 1.45;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 140ms ease;
}

.data-table tbody tr:hover {
  background: rgba(243, 240, 232, 0.025);
}

.list-skeleton span {
  height: 12px;
  display: block;
  background: linear-gradient(90deg, var(--soft-line), rgba(243, 240, 232, 0.18), var(--soft-line));
  background-size: 200% 100%;
  animation: skeletonShift 1.4s linear infinite;
}

.list-sentinel {
  height: 1px;
}

@keyframes skeletonShift {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.block-table th:nth-child(1) { width: 16%; }
.block-table th:nth-child(2) { width: 20%; }
.block-table th:nth-child(3) { width: 16%; }
.block-table th:nth-child(4) { width: 16%; }
.block-table th:nth-child(5) { width: 32%; }

.block-link {
  color: var(--paper);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
}

.block-link:hover {
  color: var(--orange);
}

.hash {
  overflow: hidden;
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  min-height: 320px;
  margin-top: 96px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: 38px;
}

.footer-content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-index,
.footer-note {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1.6;
}

.footer-content strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.footer-number {
  justify-self: end;
  min-width: 78px;
  padding: 5px 16px 10px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--display);
  font-size: 54px;
  line-height: 1;
  text-align: center;
}

.footer-matrix {
  position: absolute;
  right: 12%;
  bottom: 118px;
  width: 160px;
  height: 70px;
}

.mountain {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 190px;
  color: var(--orange);
}

.account-title {
  font-size: clamp(6rem, 13.5vw, 13.5rem);
}

.account-hero .hero-geometry {
  bottom: -1px;
}

.account-byline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: var(--beige);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.stake-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body[data-stake-tier="2"] .metric {
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--orange) 30%, transparent);
}

body[data-stake-tier="3"] .metric {
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--orange) 60%, transparent);
}

body[data-stake-tier="4"] .metric {
  box-shadow: inset 0 2px 0 var(--orange);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier-crest {
  width: 16px;
  height: 16px;
  flex: none;
}

.tier-badge.tier-3,
.tier-badge.tier-4 {
  background: var(--orange);
  color: var(--paper);
}

.segmented {
  display: flex;
  border: 1px solid var(--line);
}

.segmented button {
  min-width: 60px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.segmented button:first-child {
  border-left: 0;
}

.segmented button:hover {
  color: var(--paper);
}

.segmented button.is-active {
  background: var(--orange);
  color: var(--paper);
}

.account-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.account-metrics .metric strong {
  font-size: clamp(2rem, 2.8vw, 3.4rem);
}

.transaction-section {
  padding-bottom: 12px;
}

.transaction-count {
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr) auto;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
}

.filter-field {
  min-width: 0;
  padding: 13px 16px 12px;
  border-right: 1px solid var(--line);
}

.filter-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.04em;
  outline: 0;
}

.filter-field select {
  cursor: pointer;
}

.filter-field select option,
.filter-field select optgroup {
  background: var(--ink);
  color: var(--paper);
}

.filter-field select option {
  padding: 4px 8px;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.filter-field select option[value^="type:"] {
  text-transform: uppercase;
}

.filter-field select optgroup {
  padding: 6px 8px 2px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.filter-field:focus-within {
  box-shadow: inset 0 -2px var(--orange);
}

.reset-button {
  min-width: 118px;
  border: 0;
  background: transparent;
  color: var(--beige);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.reset-button:hover {
  background: var(--orange);
  color: var(--paper);
}

.reset-button span {
  margin-left: 12px;
  font-size: 20px;
}

.filter-summary {
  padding: 14px 4px;
  border-bottom: 1px solid var(--paper);
}

.transaction-table th:nth-child(1) { width: 14%; }
.transaction-table th:nth-child(2) { width: 13%; }
.transaction-table th:nth-child(3) { width: 19%; }
.transaction-table th:nth-child(4) { width: 22%; }
.transaction-table th:nth-child(5) { width: 13%; }
.transaction-table th:nth-child(6) { width: 19%; }

.operation-pill {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operation-pill.transfer {
  border-color: var(--orange);
  color: var(--orange);
}

.primary-detail,
.secondary-detail {
  display: block;
}

.primary-detail {
  color: var(--paper);
}

.secondary-detail {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.load-more,
.empty-state button {
  min-width: 190px;
  height: 48px;
  display: block;
  margin: 30px auto 0;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.load-more:hover,
.empty-state button:hover {
  background: var(--orange);
  color: var(--paper);
}

.load-more span {
  margin-left: 18px;
}

.deep-search {
  margin-top: 14px;
  border-color: var(--paper);
  color: var(--paper);
}

.deep-search:hover {
  background: var(--paper);
  color: var(--ink);
}

.deep-search:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: wait;
}

.deep-search:disabled:hover {
  background: transparent;
  color: var(--muted);
}

.deep-search[hidden] {
  display: none;
}

.empty-state {
  padding: 64px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-state h3 {
  margin-top: 20px;
  font-size: 38px;
}

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  margin-top: 24px;
}

.empty-dot {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
}

.account-link {
  transition: color 140ms ease;
}

.account-link:hover {
  color: var(--orange);
}

.page-message {
  margin-top: 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  color: var(--beige);
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.page-message.is-error,
.inline-warning {
  border-color: var(--orange);
  color: var(--orange);
}

.block-title {
  font-size: clamp(5rem, 10.5vw, 10.5rem);
}

.account-title.is-long {
  font-size: clamp(4.5rem, 9.5vw, 9.5rem);
}

.block-navigation {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.result-link.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.detail-panel {
  margin-top: 54px;
  border: 1px solid var(--line);
  background-image: linear-gradient(to right, var(--soft-line) 1px, transparent 1px);
  background-size: 84px 100%;
}

.detail-panel-heading {
  padding: 30px 28px 8px;
}

.detail-panel-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.detail-panel-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.detail-grid,
.transaction-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 24px 28px;
}

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

.detail-grid.account-detail-grid dt {
  font-size: 10px;
}

.detail-grid.account-detail-grid dd {
  font-size: 17px;
}

.detail-grid > div,
.transaction-meta > div {
  min-width: 0;
  padding: 16px 14px;
  border-bottom: 1px solid var(--soft-line);
}

.detail-grid dt,
.transaction-meta dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.detail-grid dd,
.transaction-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.detail-grid .detail-wide {
  grid-column: 1 / -1;
}

.detail-grid dd.hash,
.transaction-meta dd.hash {
  white-space: normal;
}

.raw-details {
  margin: 0 28px 24px;
  border-top: 1px solid var(--line);
}

.raw-details summary {
  padding: 14px 0;
  cursor: pointer;
  color: var(--orange);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
  list-style-position: inside;
}

.raw-details pre {
  max-height: 440px;
  margin: 0 0 16px;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--soft-line);
  background: rgba(0, 0, 0, 0.32);
  color: var(--beige);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.raw-details.compact {
  margin: 7px 0 0;
  border: 0;
}

.raw-details.compact summary {
  display: inline-block;
  padding: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 8px;
}

.raw-details.compact pre {
  max-height: 260px;
  margin-top: 8px;
  padding: 10px;
}

.inline-warning {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--orange);
  font-size: 11px;
  line-height: 1.5;
}

.transaction-cards {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.transaction-card {
  min-width: 0;
  border: 1px solid var(--line);
  background-image: linear-gradient(to right, var(--soft-line) 1px, transparent 1px);
  background-size: 84px 100%;
  scroll-margin-top: 30px;
}

.transaction-card.is-highlighted {
  border-color: var(--orange);
  box-shadow: inset 3px 0 var(--orange), 0 0 28px rgba(255, 90, 31, 0.14);
}

.transaction-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.transaction-card-heading > div {
  min-width: 0;
}

.transaction-card-heading span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.transaction-card-heading .hash {
  margin-top: 7px;
  color: var(--paper);
  font-size: 13px;
}

.transaction-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
}

.payload-operations {
  padding: 10px 28px;
}

.payload-operation {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-line);
}

.payload-operation-detail span,
.payload-operation-detail small {
  display: block;
  overflow-wrap: anywhere;
}

.payload-operation-detail span {
  color: var(--paper);
}

.payload-operation-detail small {
  margin-top: 5px;
  color: var(--muted);
}

.operation-table th:nth-child(1) { width: 22%; }
.operation-table th:nth-child(2) { width: 18%; }
.operation-table th:nth-child(3) { width: 28%; }
.operation-table th:nth-child(4) { width: 20%; }
.operation-table th:nth-child(5) { width: 12%; }

.operation-pill {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.operation-pill.reward,
.operation-pill.vesting {
  border-color: var(--beige);
  color: var(--beige);
}

.display-title.distribution-title {
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.78;
}

.distribution-dashboard {
  padding-bottom: 12px;
}

.distribution-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
}

.distribution-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 10px;
}

.distribution-action {
  background: transparent;
  cursor: pointer;
}

.distribution-action:disabled {
  opacity: 0.5;
  cursor: wait;
}

.distribution-action span {
  margin-left: 8px;
  color: var(--orange);
}

.distribution-table th:nth-child(1) { width: 7%; }
.distribution-table th:nth-child(2) { width: 19%; }
.distribution-table th:nth-child(3) { width: 18%; }
.distribution-table th:nth-child(4) { width: 18%; }
.distribution-table th:nth-child(5) { width: 19%; }
.distribution-table th:nth-child(6) { width: 19%; }

.distribution-rank {
  color: var(--orange);
  font-family: var(--display);
  font-size: 20px;
}

.distribution-account {
  display: block;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--display);
  font-size: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.distribution-value {
  font-family: var(--display);
  font-size: 18px;
}

@media (max-width: 640px) {
  .display-title.distribution-title {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .distribution-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .distribution-tabs {
    width: 100%;
  }

  .distribution-tabs button {
    min-width: 0;
    flex: 1;
    padding: 0 7px;
    font-size: 11px;
  }

  .distribution-actions {
    align-self: flex-start;
    flex-wrap: wrap;
  }

  .distribution-account {
    font-size: 20px;
  }
}

@keyframes nodePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes signalPulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.45); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); }
}

@media (max-width: 1180px) {
  .network-state {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .explorer-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .explorer-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .explorer-header .header-status {
    grid-column: 2;
    grid-row: 1;
  }

  .explorer-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .explorer-header .header-search {
    flex: 1;
    width: auto;
    min-width: 0;
  }

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

  .account-metrics .metric:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 40px);
  }

  .hero {
    padding-top: 36px;
  }

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

  .hero-copy {
    padding-right: 0;
  }

  .display-title,
  .account-title {
    font-size: clamp(5.4rem, 18vw, 10rem);
  }

  .annotation-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .annotation {
    padding: 16px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .annotation:last-of-type {
    border-right: 0;
  }

  .rail-matrix {
    display: none;
  }

  .search-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .account-metrics .metric:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .account-metrics .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    min-width: 0;
    flex: 1;
  }

  .filter-panel {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.6fr);
  }

  .reset-button {
    min-height: 44px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-sub,
  .main-nav a span {
    display: none;
  }

  .main-nav a {
    padding: 0 12px;
    font-size: 12px;
  }

  .explorer-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .explorer-header .main-nav {
    width: 100%;
    min-width: 0;
  }

  .explorer-header .header-search {
    flex: 1;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: auto;
    min-width: 0;
    height: 40px;
    margin-left: 0;
  }

  .explorer-header .header-search-icon {
    margin-left: 10px;
  }

  .explorer-header .header-search input {
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .explorer-header .header-search button {
    min-width: 46px;
    min-height: 38px;
    font-size: 0;
  }

  .explorer-header .header-search button span {
    margin-left: 0;
    font-size: 15px;
  }

  .explorer-header .header-search-result {
    width: calc(100vw - 32px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding-top: 22px;
    padding-bottom: 30px;
    background-size: 56px 56px;
  }

  .display-title,
  .account-title {
    margin-top: 32px;
    font-size: clamp(4.4rem, 21vw, 8rem);
    line-height: 0.78;
  }

  .hero-geometry {
    right: 3%;
    bottom: 22px;
    width: 120px;
    height: 68px;
    opacity: 0.85;
  }

  .hero-chain {
    opacity: 0.4;
  }

  .hero-cube svg {
    width: 44px;
    height: 41px;
  }

  .semicircle {
    width: 96px;
    height: 48px;
  }

  .account-hero .hero-geometry {
    bottom: -12px;
  }

  .orange-orbit {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px var(--orange);
  }

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

  .annotation {
    min-height: 90px;
    padding: 14px 10px;
  }

  .annotation:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .annotation strong {
    font-size: 15px;
  }

  .signal-strip {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 17px;
  }

  .signal-strip span:last-child {
    display: none;
  }

  .search-content h2,
  .section-heading h2 {
    font-size: 46px;
  }

  .explorer-search {
    grid-template-columns: 1fr;
  }

  .explorer-search input {
    height: 62px;
    padding: 0 14px;
    font-size: 20px;
  }

  .explorer-search button {
    min-height: 46px;
  }

  .result-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .result-link {
    justify-self: start;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .chain-section,
  .account-dashboard,
  .transaction-section {
    padding-top: 56px;
  }

  .metric {
    padding: 18px 12px;
  }

  .metric strong,
  .account-metrics .metric strong {
    font-size: 36px;
  }

  .metric > span {
    font-size: 8px;
  }

  .chain-panel {
    margin-top: 34px;
  }

  .chain-window {
    height: 172px;
  }

  .chain-node {
    width: 54px;
  }

  .chain-node svg {
    width: 52px;
    height: 50px;
  }

  .chain-node > span {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .chain-node > small {
    display: none;
  }

  .chain-caption span:last-child {
    display: none;
  }

  .api-control select {
    width: 130px;
  }

  .latest-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    padding: 7px 4px;
    border: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    grid-column: 1;
    grid-row: 1;
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  .data-table td > * {
    grid-column: 2;
  }

  .data-table td .operation-pill {
    justify-self: start;
  }

  .hash {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-footer {
    min-height: 280px;
    margin-top: 72px;
  }

  .footer-content {
    grid-template-columns: 1fr auto;
  }

  .footer-note {
    display: none;
  }

  .footer-number {
    min-width: 62px;
    font-size: 42px;
  }

  .mountain {
    height: 160px;
  }

  .account-byline {
    max-width: 220px;
    line-height: 1.5;
    flex-wrap: wrap;
  }

  .stake-wall {
    opacity: 0.6;
  }

  .segmented button {
    height: 40px;
    padding: 0 8px;
    font-size: 13px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .filter-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reset-button {
    grid-column: auto;
    border-top: 0;
  }

  .filter-summary span:last-child {
    display: none;
  }
}

@media (max-width: 1180px) {
  .account-detail-grid,
  .transaction-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-message {
    margin-top: 32px;
    padding: 20px;
    font-size: 18px;
  }

  .block-title,
  .account-title.is-long {
    font-size: clamp(3.8rem, 15vw, 7rem);
  }

  .block-navigation {
    flex-wrap: wrap;
  }

  .detail-panel {
    margin-top: 38px;
  }

  .detail-panel-heading {
    padding: 24px 16px 4px;
  }

  .detail-panel-heading h3 {
    font-size: 50px;
  }

  .detail-grid,
  .account-detail-grid,
  .transaction-meta {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .detail-grid > div,
  .transaction-meta > div {
    padding: 13px 0;
  }

  .raw-details {
    margin: 0 16px 16px;
  }

  .transaction-cards {
    margin-top: 28px;
  }

  .transaction-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .transaction-card-heading .hash {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .payload-operations {
    padding: 8px 16px;
  }

  .payload-operation {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

.display-title.witness-title {
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.78;
}

.witness-dashboard {
  padding-bottom: 12px;
}

.witness-order {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.witness-table-wrap {
  overflow-x: auto;
}

.witness-table {
  min-width: 1080px;
}

.witness-table th:nth-child(1) { width: 6%; }
.witness-table th:nth-child(2) { width: 16%; }
.witness-table th:nth-child(3) { width: 20%; }
.witness-table th:nth-child(4) { width: 11%; }
.witness-table th:nth-child(5) { width: 16%; }
.witness-table th:nth-child(6) { width: 9%; }
.witness-table th:nth-child(7) { width: 8%; }
.witness-table th:nth-child(8) { width: 14%; }

.witness-node {
  display: block;
  overflow: hidden;
  color: var(--beige);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.witness-node span {
  margin-left: 4px;
  color: var(--orange);
}

.witness-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--beige);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.witness-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.witness-status.is-active,
.witness-status.is-current {
  border-color: var(--orange);
  color: var(--orange);
}

.witness-status.is-current {
  background: var(--orange);
  color: var(--paper);
}

.witness-status.is-disabled {
  color: var(--muted);
}

.witness-version {
  display: block;
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

@media (max-width: 1500px) {
  .explorer-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .explorer-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .explorer-header .header-status {
    grid-column: 2;
    grid-row: 1;
  }

  .explorer-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .explorer-header .header-search {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .display-title.witness-title {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .explorer-header .main-nav {
    flex-wrap: wrap;
  }

  .explorer-header .main-nav > a {
    min-width: 0;
    flex: 1;
    justify-content: center;
    padding: 0 6px;
  }

  .explorer-header .header-search {
    flex: 1 0 100%;
    margin-top: 10px;
  }

  .witness-order {
    line-height: 1.6;
  }

  .witness-table {
    min-width: 0;
  }

  .witness-node {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .witness-status {
    justify-self: start;
  }
}

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

  .chain-node {
    transition: none;
  }

  .chain-node svg {
    animation: none;
  }

  .status-dot,
  .list-skeleton span {
    animation: none;
  }

  .data-table tbody tr,
  .main-nav a {
    transition: none;
  }
}
