/* Tokens */
:root {
  --ground: #0a0c0b;
  --surface-1: #111514;
  --surface-2: #1a1f1d;
  --ink: #f2f5f3;
  --ink-muted: #a3b0aa;
  --ink-dim: #7c8984;
  --accent-fill: #00ffa3;
  --accent-text: #00ffa3;
  --accent-focus: #00ffa3;
  --accent-ink: #03140d;
  --chart-grid: rgb(163 176 170 / 0.12);
  --chart-fill: rgb(0 255 163 / 0.04);
  --gutter: 16px;
  --radius: 12px;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --fs-display: 120px;
  --fs-h1: 32px;
  --fs-h2: 22px;
  --text-white: var(--ink);
  --text-gray: var(--ink-muted);
  --text-muted: var(--ink-muted);
  --primary-teal: var(--accent-text);
  --status-active: var(--ink);
  --status-inactive: var(--ink-muted);
}

[data-theme='light'] {
  --ground: #f6f8f7;
  --surface-1: #ffffff;
  --surface-2: #eef2f0;
  --ink: #0a0c0b;
  --ink-muted: #4f5b55;
  --ink-dim: #5b6661;
  --accent-text: #007a50;
  --accent-focus: #00895a;
  --chart-grid: rgb(79 91 85 / 0.14);
  --chart-fill: rgb(0 137 90 / 0.04);
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
    --fs-display: clamp(120px, 16vw, 160px);
    --fs-h1: clamp(32px, 4.7vw, 48px);
    --fs-h2: clamp(22px, 2.8vw, 28px);
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --fs-display: clamp(160px, 13.9vw, 200px);
    --fs-h1: 48px;
    --fs-h2: 28px;
  }
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    400 16px/1.5 Inter,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.25;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
}
p {
  max-width: 68ch;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent-focus);
  outline-offset: 2px;
}
::selection {
  background: var(--accent-fill);
  color: var(--accent-ink);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  padding-inline: var(--gutter);
  margin-inline: auto;
}
main.container {
  padding-top: 24px;
  padding-bottom: 96px;
}
.overview-page > .section,
.overview-page > .overview-split-grid,
.overview-page > .nearcatalog-section-bar {
  margin-top: 64px;
}
.validators-page > .validators-card,
.validators-page > .stats-overview-bar {
  margin-top: 48px;
}
.route-detail > .selected-validator {
  margin-top: 0;
}
.route-detail > .page-header,
.route-detail > .stats-overview-bar,
.route-detail > .validators-card {
  display: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ground);
}
.site-nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.site-nav-links a,
.site-nav-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding-inline: 8px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 200ms var(--ease-out);
}
.site-nav-links a.active {
  color: var(--ink);
}
.site-nav-links a:hover,
.site-nav-contact:hover {
  color: var(--ink);
}
.site-nav-contact {
  display: none;
}
.theme-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}
.theme-toggle:hover {
  background: var(--surface-1);
  color: var(--ink);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-sun,
[data-theme='light'] .theme-icon-moon {
  display: none;
}
[data-theme='light'] .theme-icon-sun {
  display: block;
}
.catalog-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: var(--accent-fill);
  color: var(--accent-ink);
  font:
    700 16px/1.5 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nodestats-brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 126px;
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--accent-fill);
  color: var(--accent-ink);
  text-align: center;
}
.nodestats-brand-name {
  padding: 2px 6px 0;
  font:
    700 20px/1.25 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.04em;
}
.nodestats-brand-credit {
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}
.nodestats-brand a {
  border-radius: 6px;
}
.nodestats-brand a:hover {
  background: rgb(0 0 0 / 0.08);
}
.nodestats-brand a:focus-visible {
  outline-color: var(--accent-ink);
  outline-offset: 0;
}

/* Components */
.poster-number {
  display: block;
  color: var(--ink);
  font:
    700 var(--fs-display) / 0.85 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.overview-page .poster-number {
  font-size: calc(var(--fs-display) * 0.72);
}
.overview-hero {
  padding-top: 24px;
}
.hero-statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-headline {
  display: block;
  max-width: 13ch;
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-description,
.page-header p {
  color: var(--ink-muted);
  margin-top: 16px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 14px;
}
.hero-side-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  color: var(--accent-text);
  font-weight: 500;
  gap: 8px;
}
.hero-side-link:hover {
  text-decoration: underline;
}
.overview-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.kpi-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.stat-label,
.bento-label {
  display: block;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}
.stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.stat-subtext {
  display: block;
  color: var(--ink-muted);
  font-size: 14px;
}
.positive,
.negative,
.status-active,
.status-warning,
.status-error {
  color: var(--ink-muted);
}
.overview-split-grid {
  display: grid;
  gap: 32px;
}
.movements-card,
.watcher-hub-card {
  min-width: 0;
}
.movements-card-header,
.movements-header-title,
.watcher-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.movements-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 4px;
}
.movements-icon-wrap,
.watcher-hub-icon,
.kpi-icon-wrap,
.status-dot,
.dot-indicator,
.pill-dot {
  display: none;
}
.movements-card h2,
.section-title,
.nearcatalog-bar-title,
.watcher-hub-title {
  font:
    600 var(--fs-h2) / 1.25 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.01em;
}
.validator-movements-period,
.movements-live-badge,
.watcher-tag,
.metric-note {
  color: var(--ink-muted);
  font-size: 14px;
}
.movements-live-badge {
  white-space: nowrap;
}
.validator-movements-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.validator-movements-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  padding: 12px 0;
}
.movement-change {
  min-width: 170px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.movement-change.positive {
  color: #5ce5a8;
}
.movement-change.negative {
  color: #ff777c;
}
[data-theme='light'] .movement-change.positive {
  color: #00784c;
}
[data-theme='light'] .movement-change.negative {
  color: #b52432;
}
.movement-validator {
  overflow-wrap: anywhere;
}
.movement-validator:hover {
  color: var(--accent-text);
}
.whale-movement-badge {
  color: var(--ink-muted);
  font-size: 14px;
}
.movements-card-footer {
  margin-top: 16px;
}
.validator-movements-toggle {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-text);
  font-weight: 500;
}
.movement-disclaimer {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 12px;
}
.movement-disclaimer i {
  display: none;
}
.watcher-hub-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-1);
}
.watcher-hub-title {
  margin-top: 12px;
}
.watcher-hub-desc {
  color: var(--ink-muted);
  margin-top: 12px;
}
.watcher-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 14px;
}
.watcher-feature-item i {
  display: none;
}
.btn-watcher-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  color: var(--accent-text);
  font-weight: 500;
}
.btn-watcher-cta i {
  display: none;
}
.nearcatalog-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.nearcatalog-bar-title i,
.nearcatalog-link i {
  display: none;
}
.nearcatalog-link {
  color: var(--accent-text);
  font-size: 14px;
  white-space: nowrap;
}
.nearcatalog-marquee {
  overflow-x: auto;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}
.nearcatalog-marquee::-webkit-scrollbar {
  display: none;
}
.nearcatalog-track {
  display: flex;
  gap: 16px;
  width: max-content;
  max-width: none;
}
.project-card {
  width: 240px;
  min-height: 160px;
  flex: 0 0 240px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 200ms var(--ease-out),
    background-color 200ms var(--ease-out);
}
.project-card:active {
  transform: scale(0.98);
}
.project-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.project-name {
  font-weight: 600;
}
.project-tagline {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-title {
  margin-bottom: 16px;
}
.validator-versions-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.validator-versions-heading .section-title {
  margin-bottom: 4px;
}
.validator-versions-heading p,
.version-coverage,
.version-fetched-at {
  color: var(--ink-muted);
  font-size: 14px;
}
.validator-versions-heading a {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 500;
}
.validator-versions-heading a:hover {
  text-decoration: underline;
}
.version-coverage {
  margin-top: 24px;
}
.validator-versions-content {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin-top: 24px;
}
.version-chart-shell {
  position: relative;
  width: min(100%, 320px);
  height: 280px;
}
.version-chart-shell canvas {
  width: 100% !important;
  height: 100% !important;
}
.version-chart-empty {
  display: grid;
  align-items: center;
  min-height: 180px;
  max-width: 320px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--ink-muted);
  text-align: center;
  font-size: 14px;
}
.version-chart-empty[hidden] {
  display: none;
}
.version-distribution-legend {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.version-legend-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  font-size: 14px;
}
.version-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.version-legend-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.version-legend-item > span:last-child {
  grid-column: 2;
  color: var(--ink-muted);
  font-size: 13px;
}
.version-fetched-at {
  margin-top: 24px;
}
.metric-note {
  margin-bottom: 16px;
}
.chart-container,
.chart-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 320px;
  border-radius: var(--radius);
  background: var(--surface-1);
  padding: 16px;
}
.chart-container canvas,
.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Tables */
.table-shell,
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
th,
td {
  border: 0;
  padding: 16px 12px;
  text-align: left;
  vertical-align: middle;
}
th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ground);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
td {
  font-size: 14px;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
th:not(:first-child),
td:not(:first-child) {
  text-align: right;
}
tbody tr {
  transition: background-color 200ms var(--ease-out);
}
tbody tr:hover {
  background: var(--surface-1);
}
tbody td {
  max-width: 28ch;
  overflow-wrap: anywhere;
}
th.sortable {
  cursor: pointer;
  user-select: none;
}
.sort-icon {
  margin-left: 4px;
  color: var(--ink-muted);
  opacity: 0.55;
  vertical-align: middle;
}
.col-pool {
  font-weight: 500;
}
th.col-pool,
td.col-pool {
  text-align: left;
}
.col-status {
  color: var(--ink-muted);
}
.status-badge {
  color: var(--ink-muted);
  font-weight: 500;
  white-space: nowrap;
}
.status-badge.active {
  color: var(--ink);
}
.table-counter-badge {
  color: var(--ink-muted);
  font-size: 14px;
}

/* Validator list and detail */
.page-header {
  padding-top: 24px;
}
#validators-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-title-line {
  display: block;
  font:
    600 var(--fs-h1) / 1.1 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.02em;
}
.stats-overview-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.stats-overview-bar .kpi-card:nth-child(-n + 2) {
  display: none;
}
.stats-overview-bar .kpi-card-header {
  display: flex;
  align-items: center;
}
.stats-overview-bar .stat-value {
  font-size: 22px;
}
.stats-overview-bar .kpi-card-meta {
  margin-top: 4px;
}
.validators-table-toolbar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.toolbar-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.validator-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.validator-filter-pills::-webkit-scrollbar {
  display: none;
}
.filter-pill {
  min-height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius);
  padding-inline: 16px;
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}
.filter-pill.active {
  background: var(--ink);
  color: var(--ground);
}
.pill-count {
  margin-left: 4px;
}
.toolbar-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.table-sort-control,
.search-box {
  position: relative;
}
.table-sort-control {
  flex: 0 0 180px;
}
.ui-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  vertical-align: -0.15em;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}
.sort-select,
.search-input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 16px;
}
.search-input::placeholder {
  color: var(--ink-muted);
}
.search-box .search-input {
  padding-left: 44px;
}
.search-box {
  flex: 1 1 260px;
}
.table-search-box .search-input {
  padding-right: 48px;
  background: var(--accent-fill);
  color: var(--accent-ink);
}
.table-search-box .search-input:not(:placeholder-shown) {
  padding-right: 92px;
}
.table-search-box .search-input::placeholder {
  color: var(--accent-ink);
  opacity: 0.8;
}
.table-search-box .search-icon {
  top: 14px;
  width: 20px;
  height: 20px;
  color: var(--accent-ink);
}
.validator-search-shortcut {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--accent-ink);
}
.validator-search-shortcut kbd {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  border-radius: 7px;
  background: rgb(0 0 0 / 0.1);
  font: inherit;
}
.table-search-box .clear-search-btn {
  right: 46px;
  background: rgb(0 0 0 / 0.08);
  color: var(--accent-ink);
}
.table-search-box .search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.clear-search-btn {
  position: absolute;
  align-items: center;
  justify-content: center;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
}
.detail-search-surface {
  max-width: 420px;
  margin-top: 24px;
}
.validator-suggestions {
  position: absolute;
  z-index: 70;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 24px));
  max-height: min(360px, calc(100dvh - 140px));
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-1);
  color: var(--ink);
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.28);
}
.validator-suggestions[hidden] {
  display: none;
}
.validator-suggestions.opens-above {
  top: auto;
  bottom: calc(100% + 8px);
}
.validator-suggestions-status {
  flex: 0 0 auto;
  padding: 12px 16px;
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 13px;
}
.validator-suggestions-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.validator-suggestion {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.3;
}
.validator-suggestion:hover,
.validator-suggestion.is-active,
.validator-suggestion:focus-visible {
  background: var(--accent-fill);
  color: var(--accent-ink);
}
.search-box.is-search-active .search-input,
.dock-search.is-search-active {
  outline: 2px solid var(--accent-focus);
  outline-offset: 2px;
}
.selected-validator {
  display: none;
}
.selected-validator.show {
  display: block;
}
.detail-top-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.detail-header {
  padding-top: 0;
}
.btn,
.btn-zoom-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 8px 16px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 500;
  transition:
    background-color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.btn:active,
.btn-zoom-toggle:active,
.tab-btn:active {
  transform: scale(0.98);
}
.btn-primary {
  min-height: 48px;
  background: var(--accent-fill);
  color: var(--accent-ink);
}
.btn-outline {
  border: 1px solid var(--ink-muted);
  background: transparent;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stake-dropdown-wrapper {
  position: relative;
}
.stake-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  z-index: 40;
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 8px;
}
.stake-dropdown-wrapper.open .stake-dropdown-menu {
  display: block;
}
.stake-wallet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px;
  border-radius: var(--radius);
}
.stake-wallet-item:hover {
  background: var(--surface-1);
}
.wallet-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
}
.wallet-text {
  display: flex;
  flex-direction: column;
}
.wallet-name {
  font-size: 14px;
  font-weight: 500;
}
.wallet-desc {
  color: var(--ink-muted);
  font-size: 14px;
}
.wallet-arrow {
  margin-left: auto;
}
.validator-title-row {
  margin-top: 48px;
}
.validator-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.validator-title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
}
.validator-title {
  min-width: 0;
  font-size: clamp(24px, 7vw, 48px);
  overflow-wrap: anywhere;
}
.validator-status {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}
.validator-version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #103b2b;
  color: #63e5aa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.validator-version-badge.is-unknown {
  background: var(--surface-2);
  color: var(--ink-muted);
}
.validator-version-badge.is-stale {
  color: #f0c879;
}
[data-theme='light'] .validator-version-badge:not(.is-unknown) {
  background: #e2f5ea;
  color: #007a50;
}
[data-theme='light'] .validator-version-badge.is-stale {
  color: #8a5d00;
}
.col-pool .validator-version-badge {
  margin: 4px 0 0 8px;
  vertical-align: middle;
}
.version-detail-status {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 13px;
}
.version-detail-status a {
  color: var(--accent-text);
}
.version-detail-status a:hover {
  text-decoration: underline;
}
.btn-icon-copy {
  flex: 0 0 auto;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-muted);
  font-size: 14px;
  text-align: left;
}
.bento-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.bento-card {
  min-width: 0;
}
.bento-profile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-1);
  padding: 24px;
}
.bento-profile > * {
  position: relative;
  z-index: 1;
}
.bento-tint-img {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  object-fit: cover;
  opacity: 0.08;
  filter: blur(14px);
  transform: translate(-50%, -50%) scale(6);
  pointer-events: none;
}
.bento-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bento-avatar,
.bento-avatar-placeholder {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-2);
}
.bento-avatar-placeholder {
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.bento-profile-identity {
  min-width: 0;
}
.bento-account-id {
  overflow-wrap: anywhere;
  font-weight: 600;
}
.bento-country,
.bento-description {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 8px;
}
.bento-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
}
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: var(--radius);
  color: var(--ink-muted);
  font-size: 14px;
}
.bento-link:hover {
  color: var(--ink);
}
.bento-card-header {
  margin-bottom: 12px;
}
.bento-label i {
  display: none;
}
.bento-stat-num {
  font:
    700 clamp(64px, 13vw, 120px) / 0.85 'Space Grotesk',
    sans-serif;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.bento-unit {
  display: block;
  margin-top: 8px;
  color: var(--ink-muted);
  font:
    500 14px/1.4 Inter,
    sans-serif;
  letter-spacing: 0;
}
.bento-stat-sub,
.bento-sec-note,
.bento-fee-explainer {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 12px;
}
.bento-stat-sub i {
  display: none;
}
.bento-stat-secondary {
  margin-top: 24px;
}
.bento-sec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
}
.bento-sec-label {
  color: var(--ink-muted);
}
.bento-sec-val {
  text-align: right;
}
#validatorEconomicsCard .bento-stat-num {
  font-size: 48px;
  line-height: 1;
}
.tabs-container {
  gap: 8px;
  overflow-x: auto;
  margin-top: 64px;
  scrollbar-width: none;
}
.tabs-container::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--ink);
  color: var(--ground);
}
.tab-panel,
#stakersContainer {
  margin-top: 32px;
}
.section-title-wrapper h3,
.section-header-block h3,
#stakersContainer h3 {
  font-size: var(--fs-h2);
}
.section-title-wrapper p,
.section-header-block p,
#stakersContainer p {
  color: var(--ink-muted);
  margin-top: 8px;
}
.epoch-uptime-container {
  margin-top: 48px;
}
.epoch-uptime-header,
.epoch-uptime-legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ink-muted);
  font-size: 14px;
}
.epoch-uptime-title strong {
  color: var(--ink);
  font-weight: 500;
}
.epoch-uptime-title i,
.epoch-uptime-badge .status-dot {
  display: none;
}
.epoch-uptime-strip-wrapper {
  overflow: visible;
  margin: 16px 0;
}
.epoch-uptime-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, 24px);
  gap: 6px;
}
.epoch-uptime-strip > * {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.epoch-bar-col.color-perfect,
.pill-dot.color-perfect {
  background: #00ad70;
}
.epoch-bar-col.color-normal,
.pill-dot.color-normal {
  background: #77c76f;
}
.epoch-bar-col.color-warn,
.pill-dot.color-warn {
  background: #f3bd58;
}
.epoch-bar-col.color-danger,
.pill-dot.color-danger {
  background: #e86169;
}
.legend-scales {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legend-scales .pill-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
}
.epoch-bar-tooltip {
  position: fixed;
  z-index: 50;
  width: min(240px, calc(100vw - 24px));
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.22);
  pointer-events: none;
}
.validator-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stat-item .stat-value {
  font-size: 28px;
  margin-top: 8px;
}
.chart-header-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 48px 0 16px;
}
.chart-header-row h4 {
  font-size: 22px;
}
.chart-period {
  color: var(--ink-muted);
  font:
    400 14px/1.3 Inter,
    sans-serif;
  letter-spacing: 0;
}
.chart-header-row h4 i,
.section-header-block h3 i,
.section-title-wrapper h3 i {
  display: none;
}
.section-header-block {
  margin: 48px 0 16px;
}
.section-header-block:first-child {
  margin-top: 0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.loading,
.no-data,
.error,
.loading-placeholder {
  color: var(--ink-muted);
  padding: 24px 0;
}

/* Footer */
.site-footer {
  padding-block: 64px 32px;
  background: var(--ground);
}
.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;
}
.support-marquee {
  position: fixed;
  z-index: 35;
  inset: auto 0 0;
  height: calc(38px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--accent-fill);
  color: var(--accent-ink);
  border-top: 1px solid rgb(0 0 0 / 0.12);
}
.support-marquee-link {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  min-height: 38px;
  padding-inline: 20px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  animation: support-drift 26s linear infinite alternate;
}
.support-marquee-link:hover,
.support-marquee-link:focus-visible {
  animation-play-state: paused;
  text-decoration: underline;
}
@keyframes support-drift {
  to {
    transform: translateX(-25%);
  }
}
.section-dock {
  position: fixed;
  z-index: 34;
  bottom: calc(50px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  gap: 6px;
  width: min(580px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.24);
  transform: translateX(-50%);
}
.dock-section-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-1);
  color: var(--ink);
}
.dock-chevron {
  transition: transform 180ms var(--ease-out);
}
.dock-section-toggle[aria-expanded='true'] .dock-chevron {
  transform: rotate(180deg);
}
.section-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 180px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 22px;
  background: var(--surface-2);
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.25);
}
.section-menu-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  font-weight: 600;
}
.section-menu-hint {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 400;
}
.section-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.section-menu-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-1);
  transition:
    background 160ms,
    color 160ms;
}
.section-menu-grid a small {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.4;
}
.section-menu-grid a[aria-current],
.section-menu-grid a:hover {
  background: var(--accent-fill);
  color: var(--accent-ink);
}
.section-menu-grid a[aria-current] small,
.section-menu-grid a:hover small {
  color: var(--accent-ink);
}
.section-menu-grid a:first-child {
  grid-column: 1 / -1;
}
.dock-search {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  border-radius: 12px;
  background: var(--accent-fill);
  color: var(--accent-ink);
}
.dock-search input {
  min-height: 48px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font-size: 16px;
}
.dock-search input::placeholder {
  color: var(--accent-ink);
  opacity: 0.8;
}
.dock-search:focus-within {
  outline: 2px solid var(--accent-focus);
  outline-offset: 3px;
}
.dock-search button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
}
.dock-search .ui-icon {
  width: 20px;
  height: 20px;
}
.dock-search kbd {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  border-radius: 7px;
  background: rgb(0 0 0 / 0.1);
  font: inherit;
}
body {
  padding-bottom: calc(38px + env(safe-area-inset-bottom));
}
.overview-page {
  padding-bottom: 120px !important;
}
.overview-page > [id] {
  scroll-margin-top: 88px;
}
.footer-inner {
  display: grid;
  gap: 48px;
}
.footer-intro h2 {
  margin-top: 24px;
}
.footer-intro p {
  margin-top: 8px;
  color: var(--ink-muted);
}
.footer-intro p a {
  color: var(--accent-text);
}
.footer-links {
  display: grid;
  gap: 24px;
}
.footer-links h3 {
  font:
    500 16px/1.5 Inter,
    sans-serif;
}
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-credit {
  color: var(--ink-muted);
  font-size: 14px;
}

/* Utilities and responsive rules */
.text-muted {
  color: var(--ink-muted);
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-2px);
    background: var(--surface-2);
  }
  .btn:hover,
  .btn-zoom-toggle:hover {
    transform: translateY(-2px);
  }
}
@media (max-width: 639px) {
  .validator-versions-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .version-chart-shell {
    width: min(100%, 260px);
    height: 240px;
    margin-inline: auto;
  }
  .version-coverage {
    margin-top: 16px;
  }
  :root {
    --gutter: 12px;
    --fs-h2: 20px;
  }
  body {
    font-size: 15px;
  }
  h3 {
    font-size: 20px;
  }
  main.container {
    padding-top: 16px;
  }
  .overview-page > .section,
  .overview-page > .overview-split-grid,
  .overview-page > .nearcatalog-section-bar {
    margin-top: 40px;
  }
  .overview-page > [id] {
    scroll-margin-top: 76px;
  }
  .overview-hero {
    padding-top: 8px;
  }
  .hero-statement {
    gap: 16px;
  }
  .hero-headline {
    font-size: 28px;
  }
  .hero-description {
    margin-top: 12px;
  }
  .hero-meta {
    gap: 6px 16px;
    margin-top: 16px;
    font-size: 13px;
  }
  .hero-side-link {
    margin-top: 12px;
  }
  .overview-kpis {
    gap: 16px;
    margin-top: 24px;
  }
  .site-nav {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 40px;
    min-height: 60px;
    column-gap: 6px;
    padding-block: 6px;
    white-space: nowrap;
  }
  .nodestats-brand {
    width: 100px;
    min-width: 0;
    height: 44px;
    padding: 2px 4px;
    border-radius: 10px;
  }
  .nodestats-brand-name {
    padding: 1px 2px 0;
    font-size: 17px;
    line-height: 1.2;
  }
  .nodestats-brand-credit {
    padding: 0 2px;
    font-size: 9px;
    line-height: 1.2;
  }
  .site-nav-links {
    justify-content: space-between;
    min-width: 0;
    margin-left: 0;
  }
  .site-nav-links a {
    min-height: 44px;
    padding-inline: 3px;
    font-size: 12px;
  }
  .theme-toggle {
    width: 40px;
    height: 44px;
    flex-basis: 40px;
    margin-left: 0;
  }
  .support-marquee {
    height: calc(32px + env(safe-area-inset-bottom));
  }
  .support-marquee-link {
    min-height: 32px;
    font-size: 12px;
  }
  body {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
  .section-dock {
    bottom: calc(44px + env(safe-area-inset-bottom));
  }
  .chart-header-row {
    gap: 8px;
    margin: 28px 0 10px;
  }
  .chart-header-row h4 {
    font-size: 18px;
    line-height: 1.2;
  }
  .chart-period {
    display: block;
    margin-top: 2px;
    color: var(--ink-muted);
    font:
      400 12px/1.3 Inter,
      sans-serif;
    letter-spacing: 0;
  }
  .btn-zoom-toggle {
    min-height: 44px;
    padding: 7px 9px;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
  }
  .section-header-block {
    margin: 28px 0 10px;
  }
  .section-title-wrapper h3,
  .section-header-block h3,
  #stakersContainer h3 {
    font-size: 19px;
  }
  .validator-title-row {
    margin-top: 24px;
  }
  .validator-title {
    font-size: clamp(22px, 6.5vw, 30px);
  }
  .bento-grid {
    margin-top: 32px;
    gap: 24px;
  }
  .bento-profile {
    padding: 16px;
  }
  .tabs-container {
    margin-top: 32px;
  }
  .tab-panel,
  #stakersContainer {
    margin-top: 24px;
  }
  .epoch-uptime-container {
    margin-top: 32px;
  }
  .site-footer {
    padding-block: 48px 24px;
  }
  .footer-inner {
    gap: 32px;
  }
  .footer-links {
    gap: 12px;
  }
  .section-dock {
    width: calc(100vw - 20px);
  }
  .dock-section-toggle {
    width: 48px;
    flex: 0 0 48px;
    padding: 0;
  }
  .dock-section-toggle span,
  .dock-chevron {
    display: none;
  }
  .dock-search input {
    font-size: 16px;
  }
  .dock-search:focus-within {
    outline-offset: 1px;
  }
  .overview-kpis .kpi-card:first-child {
    grid-column: span 2;
  }
  .movements-card-header {
    align-items: flex-start;
  }
  .movements-live-badge {
    display: none;
  }
  .watcher-hub-card {
    padding: 16px;
  }
  .nearcatalog-bar-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .chart-container,
  .chart-wrapper {
    height: 240px;
    padding: 8px;
  }
  .toolbar-controls-row {
    flex-direction: column;
  }
  .table-sort-control,
  .search-box {
    flex: none;
    width: 100%;
  }
  .bento-stat-num {
    font-size: clamp(64px, 18vw, 96px);
  }
  .detail-top-nav-row {
    align-items: flex-start;
  }
  .btn-back {
    padding-inline: 8px;
  }
  .validator-stats {
    gap: 16px;
  }
  .validator-title-group {
    display: block;
  }
  .btn-icon-copy {
    margin-top: 8px;
  }
  .bento-grid {
    display: flex;
    flex-direction: column;
  }
  #validatorStakingCard {
    order: -1;
  }
}
@media (max-width: 900px) {
  #table-all-validators,
  #table-epoch,
  #table-day,
  #table-stakers {
    display: block;
  }
  #table-all-validators thead,
  #table-epoch thead,
  #table-day thead,
  #table-stakers thead {
    display: none;
  }
  #table-all-validators tbody,
  #table-epoch tbody,
  #table-day tbody,
  #table-stakers tbody {
    display: block;
  }
  #table-all-validators tr,
  #table-epoch tr,
  #table-day tr,
  #table-stakers tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    min-height: 72px;
    padding: 12px 0;
    align-items: baseline;
  }
  #table-all-validators td,
  #table-epoch td,
  #table-day td,
  #table-stakers td {
    display: block;
    min-width: 0;
    max-width: none;
    padding: 0;
    text-align: left;
  }
  #table-all-validators .col-pool {
    grid-column: 1;
    grid-row: 1;
    overflow-wrap: anywhere;
  }
  #table-all-validators .col-stake {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
  }
  #table-all-validators .col-status {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
  }
  #table-all-validators .col-uptime {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }
  #table-all-validators .col-detail {
    display: none;
  }
  #table-epoch td:nth-child(1),
  #table-day td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    font-weight: 600;
  }
  #table-epoch td:nth-child(3),
  #table-day td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-weight: 600;
  }
  #table-epoch td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: var(--ink-muted);
    font-size: 14px;
  }
  #table-epoch td:nth-child(4),
  #table-day td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    color: var(--ink-muted);
    font-size: 14px;
    text-align: right;
  }
  #table-epoch td:nth-child(5),
  #table-day td:nth-child(4) {
    display: none;
  }
  #table-stakers td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  #table-stakers td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-weight: 600;
  }
  #table-stakers td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    color: var(--ink-muted);
  }
  #table-stakers .staker-actions {
    display: flex;
    gap: 8px;
  }
}
@media (min-width: 640px) {
  .site-nav {
    min-height: 72px;
  }
  .site-nav-links {
    gap: 16px;
  }
  .site-nav-contact {
    display: inline-flex;
  }
  main.container {
    padding-top: 48px;
  }
  .overview-hero {
    padding-top: 0;
  }
  .overview-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .overview-split-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 48px;
  }
  .stats-overview-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .validators-table-toolbar {
    align-items: stretch;
  }
  .toolbar-search {
    min-width: 0;
    width: 100%;
  }
  .validator-title-group {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .toolbar-right {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 4fr 7fr;
    column-gap: 48px;
  }
  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-credit {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .route-list .page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 32px;
  }
  .route-list .page-header-content {
    grid-column: 1 / -1;
  }
  .route-list #validators-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 32px;
  }
  .validators-hero-copy {
    grid-column: 2;
  }
  .validators-table-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 420px) minmax(
        150px,
        1fr
      );
    align-items: end;
    gap: 24px;
  }
  .toolbar-right {
    justify-self: end;
    width: 180px;
  }
  .table-responsive-container {
    overflow: visible;
  }
  .hero-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 32px;
  }
  .hero-statement {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 32px;
  }
  .hero-copy {
    grid-column: 2;
  }
  .hero-headline {
    align-self: end;
    padding-bottom: 0;
    transform: translateY(0.08em);
  }
  .overview-page > .section,
  .overview-page > .overview-split-grid,
  .overview-page > .nearcatalog-section-bar {
    margin-top: 96px;
  }
  .overview-kpis {
    margin-top: 64px;
  }
  .bento-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 32px;
  }
  .bento-stat-num {
    font-size: clamp(64px, 7vw, 112px);
  }
  th {
    top: 72px;
  }
}
@media (pointer: coarse), (max-width: 639px) {
  .epoch-uptime-strip {
    grid-template-columns: repeat(auto-fill, 44px);
    gap: 0;
  }
  .epoch-uptime-strip > * {
    width: 44px;
    height: 44px;
    border: 8px solid var(--ground);
    border-radius: 12px;
    background-clip: padding-box;
  }
}
@media (prefers-reduced-motion: reduce) {
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .overview-page {
    padding-bottom: 160px !important;
  }
  .support-marquee {
    height: auto;
    min-height: calc(38px + env(safe-area-inset-bottom));
  }
  .support-marquee-link {
    animation: none;
    width: 100%;
    padding-block: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    white-space: normal;
  }
  .section-dock {
    bottom: calc(104px + env(safe-area-inset-bottom));
  }
  .support-marquee-repeat {
    display: none;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Live network status and validator version distribution */
.inline-updating {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--accent-text);
  animation: status-pulse 1.5s ease-in-out infinite;
}
.inline-updating[hidden] {
  display: none;
}
.inline-updating.is-error {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px;
  animation: none;
}
#near-price.positive,
#price-change.positive {
  color: #59c99b;
}
#near-price.negative,
#price-change.negative {
  color: #e98484;
}
[data-theme='light'] #near-price.positive,
[data-theme='light'] #price-change.positive {
  color: #087c55;
}
[data-theme='light'] #near-price.negative,
[data-theme='light'] #price-change.negative {
  color: #ad363e;
}
@keyframes status-pulse {
  50% {
    opacity: 0.25;
  }
}
.version-kpi-coverage {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.4;
}
.version-kpi .stat-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.version-kpi .stat-label small,
.version-source-credit {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
}
.version-kpi-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  width: 100%;
  margin-top: 8px;
}
.version-kpi-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
}
.version-kpi-item strong {
  overflow-wrap: anywhere;
  font-weight: 500;
}
.version-kpi-item span {
  color: var(--ink-muted);
  white-space: nowrap;
}
.route-list .page-header {
  align-items: start;
}
.route-list .page-header-content,
.route-list .validators-hero-copy {
  min-width: 0;
}
.route-list .stats-overview-bar {
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.route-list .stats-overview-bar .kpi-card:nth-child(-n + 2) {
  display: none;
}
.route-list .validator-versions-section {
  margin-top: 28px;
}
.route-list .validators-hero-copy > .hero-title-line {
  margin-top: 0;
  color: var(--ink);
}
.route-list .validator-versions-heading {
  align-items: center;
}
.route-list .validator-versions-heading .section-title {
  font-size: 22px;
}
.route-list .validator-versions-content {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.route-list .version-chart-shell {
  width: min(100%, 260px);
  height: 260px;
}
.route-list .version-coverage {
  margin-top: 10px;
}
.route-list .version-distribution-legend {
  gap: 7px;
}
.route-list .version-legend-item {
  font-size: 13px;
}
.route-list .version-legend-item > span:last-child {
  font-size: 12px;
}
.route-list .version-fetched-at {
  margin-top: 12px;
}
@media (min-width: 1024px) {
  .overview-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 1.4fr);
  }
  .route-list .page-header {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    min-height: 500px;
  }
  .route-list .page-header-content {
    grid-column: 1;
  }
  .route-list #validators-title {
    display: flex;
  }
  .route-list .validators-hero-copy {
    grid-column: 2;
  }
}
@media (max-width: 1023px) {
  .route-list .page-header {
    display: grid;
    gap: 28px;
  }
  .route-list .validator-versions-content {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }
}
@media (max-width: 639px) {
  .overview-kpis .version-kpi {
    grid-column: 1 / -1;
  }
  .route-list .page-header {
    gap: 24px;
  }
  .route-list .stats-overview-bar {
    margin-top: 20px;
    gap: 16px;
  }
  .route-list .validator-versions-section {
    margin-top: 20px;
  }
  .route-list .validator-versions-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .route-list .version-chart-shell {
    margin-inline: auto;
  }
  .route-list .version-distribution-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .inline-updating {
    animation: none;
  }
}

/* Align the network and validator hero typography as a single display system. */
.overview-kpis > .kpi-card {
  align-self: stretch;
  font-variant-numeric: tabular-nums;
}
.version-kpi-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 9px;
  width: 100%;
}
.version-kpi-heading .stat-label {
  font-weight: 600;
  white-space: nowrap;
}
.version-kpi-coverage {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.version-kpi-legend {
  gap: 4px 10px;
  align-content: start;
  margin-top: 4px;
}
.version-kpi-item {
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.route-list .page-header-content,
.route-list #validators-title,
.route-list #heroValidatorCount {
  justify-self: start;
  justify-content: flex-start;
  text-align: left;
  margin-inline: 0;
}
.route-list #validators-title {
  width: 100%;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
}
.route-list .validator-versions-heading {
  justify-content: flex-start;
  gap: 4px 12px;
}
.route-list .validator-versions-heading .section-title {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.route-list .validator-versions-heading .version-coverage {
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.route-list .validator-versions-content {
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  align-items: center;
  margin-top: 14px;
}
.route-list .version-distribution-legend {
  width: 100%;
}
@media (min-width: 1024px) {
  .overview-page .hero-headline {
    justify-self: end;
    text-align: right;
    text-wrap: balance;
    max-width: 20ch;
  }
  .overview-page .hero-copy {
    text-align: right;
    justify-self: stretch;
  }
  .overview-page .hero-meta {
    justify-content: flex-end;
  }
  .overview-kpis > .kpi-card {
    min-height: 132px;
    justify-content: space-between;
  }
}
@media (max-width: 1023px) {
  .route-list .validator-versions-heading .section-title {
    white-space: normal;
  }
}
@media (max-width: 639px) {
  .version-kpi-heading,
  .route-list .validator-versions-heading {
    gap: 4px 8px;
  }
  .route-list .validator-versions-heading .version-coverage {
    white-space: normal;
  }
  .route-list .validator-versions-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .route-list .validators-hero-copy {
    width: 100%;
    justify-self: stretch;
    text-align: right;
  }
  .route-list .validator-versions-heading {
    justify-content: flex-end;
  }
  .route-list .validator-versions-content {
    width: 100%;
  }
  .route-list .version-distribution-legend {
    width: max-content;
    max-width: 100%;
    justify-self: end;
    text-align: left;
  }
  .route-list .version-fetched-at {
    text-align: right;
  }
}

.version-disclosure-meta {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.version-disclosure-toggle,
#validator-versions-title .version-heading-mobile,
#detailVersionShort {
  display: none;
}

@media (max-width: 639px) {
  .validators-page {
    padding-bottom: 24px;
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  body:has(.validators-page) {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  body:has(.validators-page) .support-marquee {
    height: calc(44px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--chart-grid);
    background: var(--surface-1);
    color: var(--ink-muted);
  }
  body:has(.validators-page) .support-marquee-link {
    min-height: 44px;
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 500;
  }
  body:has(.validators-page) .support-marquee-link:hover,
  body:has(.validators-page) .support-marquee-link:focus-visible {
    color: var(--accent-text);
  }

  .route-list .page-header {
    gap: 12px;
    padding-top: 4px;
  }
  .route-list #validators-title {
    gap: 0;
    line-height: 1;
  }
  .route-list #heroValidatorCount {
    font-size: clamp(72px, 21vw, 104px);
    line-height: 0.9;
  }
  .route-list .stats-overview-bar {
    margin-top: 12px;
    gap: 12px;
  }
  .route-list .stats-overview-bar .stat-value {
    font-size: 19px;
  }
  .route-list .validators-hero-copy > .hero-title-line {
    font-size: 21px;
    line-height: 1.15;
  }
  .route-list .validators-hero-copy > p:not(.hero-title-line) {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
  }
  .route-list .validator-versions-section {
    margin-top: 14px;
  }
  .route-list .validator-versions-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 2px 8px;
    align-items: center;
  }
  .route-list .validator-versions-heading .section-title {
    grid-column: 1;
    grid-row: 1;
    font-size: 17px;
  }
  .route-list #validator-versions-title .version-heading-desktop {
    display: none;
  }
  .route-list #validator-versions-title .version-heading-mobile {
    display: inline;
  }
  .route-list .version-disclosure-meta {
    grid-column: 1;
    grid-row: 2;
    gap: 3px 8px;
  }
  .route-list .version-disclosure-toggle {
    display: grid;
    place-items: center;
    grid-column: 2;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    border: 1px solid var(--chart-grid);
    border-radius: 10px;
    background: var(--surface-1);
    color: var(--ink);
    font-size: 23px;
  }
  .route-list .version-disclosure-toggle[aria-expanded='true'] span {
    transform: rotate(180deg);
  }
  .route-list .version-details-body {
    display: none;
  }
  .route-list .validator-versions-section.is-expanded .version-details-body {
    display: block;
  }
  .route-list .version-coverage,
  .route-list .version-source-credit {
    font-size: 12px;
  }
  .validators-page > .validators-card {
    margin-top: 24px;
  }
  .validators-table-toolbar {
    gap: 12px;
    margin-bottom: 16px;
  }
  .toolbar-title-row {
    margin-bottom: 8px;
  }
  .validator-filter-pills .filter-pill {
    min-height: 44px;
  }

  .route-detail .detail-header {
    display: flex;
    flex-direction: column;
  }
  .route-detail .detail-top-nav-row {
    order: 0;
    align-items: center;
    gap: 8px;
  }
  .route-detail .detail-top-nav-row .btn {
    min-height: 44px;
    white-space: nowrap;
  }
  .route-detail .btn-back {
    padding-inline: 4px;
    border-color: transparent;
    color: var(--ink-muted);
    font-size: 12px;
  }
  .route-detail .stake-dropdown-toggle {
    position: relative;
    isolation: isolate;
    min-height: 44px;
    padding-inline: 10px;
    background: transparent;
    font-size: 12px;
  }
  .route-detail .stake-dropdown-toggle::before {
    position: absolute;
    z-index: -1;
    inset: 5px 0;
    border-radius: var(--radius);
    background: var(--accent-fill);
    content: '';
  }
  .route-detail .validator-title-row {
    order: 1;
    margin-top: 18px;
  }
  .route-detail .validator-title-group {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 56px;
    align-items: center;
    gap: 6px 8px;
  }
  .route-detail .validator-title-line {
    display: contents;
  }
  .route-detail .validator-title {
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(22px, 6.2vw, 24px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .route-detail .validator-status {
    grid-column: 1;
    font-size: 12px;
  }
  .route-detail #detailVersionBadge {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    min-height: 21px;
    padding: 2px 6px;
    font-size: 11px;
  }
  .route-detail .btn-icon-copy {
    grid-column: 3;
    min-width: 56px;
    min-height: 44px;
    margin: 0;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }
  .route-detail .version-detail-status {
    margin-top: 4px;
    font-size: 12px;
  }
  .route-detail #detailVersionLong {
    display: none;
  }
  .route-detail #detailVersionShort {
    display: inline;
  }
  .route-detail .detail-search-surface {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin-top: 14px;
  }
  .route-detail .detail-search-surface .search-input {
    min-height: 46px;
    border: 1px solid var(--chart-grid);
    background: var(--surface-1);
    color: var(--ink);
  }
  .route-detail .detail-search-surface .search-input::placeholder,
  .route-detail .detail-search-surface .search-icon,
  .route-detail .detail-search-surface .validator-search-shortcut {
    color: var(--ink-muted);
  }
  .route-detail .detail-search-surface:focus-within .search-input {
    outline: 2px solid var(--accent-focus);
    outline-offset: 1px;
  }
  .route-detail .detail-search-surface .validator-search-shortcut kbd {
    background: var(--surface-2);
  }
  .route-detail .bento-grid {
    margin-top: 20px;
    gap: 22px;
  }
  .route-detail #validatorStakingCard {
    order: -2;
  }
  .route-detail #validatorEconomicsCard {
    order: -1;
  }
  .route-detail #validatorProfileCard {
    order: 0;
  }
  .route-detail .bento-stat-num {
    font-size: clamp(58px, 16vw, 78px);
  }
  .route-detail .bento-stat-sub,
  .route-detail .bento-sec-note,
  .route-detail .bento-fee-explainer {
    font-size: 12px;
    line-height: 1.45;
  }
  .route-detail .bento-profile {
    padding: 16px;
  }
  .route-detail .bento-avatar,
  .route-detail .bento-avatar-placeholder {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .route-detail .bento-profile-top {
    gap: 10px;
  }
  .route-detail .bento-description {
    font-size: 14px;
    line-height: 1.5;
  }
  .route-detail .tabs-container {
    margin-top: 24px;
  }
  .route-detail .tab-panel,
  .route-detail #stakersContainer {
    margin-top: 20px;
  }
  .route-detail .validator-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .route-detail .stat-item .stat-value {
    font-size: 24px;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: reduce) {
  body:has(.validators-page) {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
  body:has(.validators-page) .support-marquee {
    height: auto;
    min-height: calc(44px + env(safe-area-inset-bottom));
  }
  body:has(.validators-page) .support-marquee-link {
    width: 100%;
    min-height: 44px;
    white-space: normal;
  }
}

/* Keep the compact network summary legible at every viewport width. */
.overview-kpis .version-kpi-legend {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}
.overview-kpis .version-kpi-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
}
.overview-kpis .version-kpi-item strong {
  color: var(--ink);
  font-weight: 500;
}
.overview-kpis .version-kpi-value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.overview-kpis .version-kpi-share {
  color: var(--ink);
  font-weight: 600;
}
.overview-kpis .version-kpi-value small {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 400;
}
@media (max-width: 639px) {
  .site-nav-links {
    justify-content: center;
    gap: clamp(8px, 2vw, 14px);
  }
  .site-nav-links a {
    white-space: nowrap;
  }
}
