@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
:root {
    color-scheme: light dark;
    --font-body: "Open Sans", system-ui, sans-serif;
    --font-code: Consolas, "Liberation Mono", monospace;
    --text-size: 13px;
    --text-small: 11px;
    --text-label: 10px;
    --text-metric: 17px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 20px;
    --space-xl: 28px;
    --radius-sm: 4px;
    --radius: 8px;
    --content-width: 1380px;
    --page-gutter: 40px;
    --control-height: 36px;
    --control-height-small: 28px;
    --copy-feedback-width: 240px;
    --menu-control-width: 96px;
    --menu-control-height: 42px;
    --menu-scrollbar-width: 0px;
    --mobile-header-padding: 15px;
    --select-arrow-size: 12px;
    --directory-sidebar-width: 250px;
    --icon-size: 32px;
    --icon-glyph-size: 16px;
    --chart-dense-line-width: 1.5;
    --chart-tooltip-gap: 8px;
    --chart-aspect-ratio: 600 / 330;
    --color-text: light-dark(#253b4d, #d0d7df);
    --color-muted: light-dark(#687b89, #93a5b5);
    --color-page: light-dark(#f5f7f9, #011627);
    --color-surface: light-dark(#fff, #011f36);
    --color-subtle: light-dark(#f7fafc, #052940);
    --color-border: light-dark(#dfe7ed, #10364f);
    --color-nested-rule: light-dark(#adb5bd, #03487c);
    --color-accent: light-dark(#0464b1, #409ded);
    --color-accent-soft: light-dark(#edf5fc, #063151);
    --color-button: light-dark(#0464b1, #075b95);
    --color-badge: light-dark(#f0f5f9, #073a5d);
    --color-icon: light-dark(#268fd2, #2189cc);
    --color-icon-muted: light-dark(#768797, #667e91);
    --color-logo: light-dark(#0464b1, #2996db);
    --color-logo-muted: light-dark(#858585, #b6bec6);
    --color-success: light-dark(#217541, #88cca1);
    --color-success-bg: light-dark(#edf7f0, #163b33);
    --color-danger: light-dark(#a73340, #ef9a9e);
    --color-danger-bg: light-dark(#fff0f1, #45212d);
    --color-warning: light-dark(#745719, #dec996);
    --color-warning-bg: light-dark(#fff9ed, #302b1d);
    --color-heart: #e53945;
    --color-ticker: #303840;
    --color-ticker-border: #506171;
    --color-ticker-hover: #ffffff12;
    --color-ticker-text: #e3ecf3;
    --color-ticker-muted: #b2c2cf;
    --color-backdrop: #00152580;
    --color-history: light-dark(#eef4f8, #03243b);
    --color-hero-wash: light-dark(#f4f9fcbf, #01111d14);
    --hero-opacity: .19;
    --hero-light: url("../images/bg.jpg");
    --hero-dark: url("../images/bgd.jpg");
    --hero-image: var(--hero-light);
}
:root[data-palette="yellow"] {
    --color-page: light-dark(#f8f7f4, #1b1401);
    --color-surface: light-dark(#fff, #251d01);
    --color-subtle: light-dark(#faf8f2, #302602);
    --color-border: light-dark(#e8e3d6, #3b2e01);
    --color-nested-rule: light-dark(#b8ab80, #584402);
    --color-accent: light-dark(#9a7500, #d9b34e);
    --color-accent-soft: light-dark(#faf4df, #3b2e01);
    --color-button: light-dark(#a07a00, #5f4903);
    --color-badge: light-dark(#f5f1e5, #493803);
    --color-icon: light-dark(#b68c0a, #a58012);
    --color-logo: #f0b90b;
    --color-history: light-dark(#f7f4e9, #302602);
    --color-hero-wash: light-dark(#faf7edbf, #14100114);
    --hero-light: url("../images/bg-yellow.jpg");
    --hero-dark: url("../images/bgd-yellow.jpg");
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; --hero-image: var(--hero-dark); --hero-opacity: .95; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --hero-image: var(--hero-dark); --hero-opacity: .95; }
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; background: var(--color-page); color: var(--color-text); font: var(--text-size)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
#app { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
button { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); min-height: var(--control-height); padding: var(--space-xs) var(--space-md); }
button:hover:not(:disabled) { background: var(--color-accent-soft); }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
input:not([type="checkbox"]), select, textarea { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); padding: var(--space-sm) var(--space-md); min-height: var(--control-height); min-width: 0; }
input::placeholder, textarea::placeholder { color: var(--color-muted); opacity: 1; }
input[type="checkbox"] { accent-color: var(--color-accent); }
img, svg { max-width: 100%; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.4; }
h1 { font-size: 24px; } h2, h3, h4 { font-size: 20px; } h5 { font-size: 15px; } h6 { font-size: 12px; }
small, .small { font-size: var(--text-small); }
code, pre, .mono { font-family: var(--font-code); }
hr { border: 0; border-top: 1px solid var(--color-border); margin-block: var(--space-lg); }
ul, ol { padding-left: var(--space-xl); }
.container { width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.page-heading { display: grid; justify-items: start; gap: var(--space-lg); margin-block: var(--space-sm) var(--space-xl); }
.page-content { padding-block: var(--space-lg) var(--space-xl); }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.spread { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); }
.stack { display: grid; gap: var(--space-md); }
.split { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.split > * { min-width: 0; }
.text-muted { color: var(--color-muted); }
.text-break { overflow-wrap: anywhere; min-width: 0; }
.text-truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-nowrap { white-space: nowrap; }
.text-uppercase { text-transform: uppercase; }
.text-success, .caret-rise { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.badge.badge-warning { color: var(--color-warning); background: var(--color-warning-bg); }
.text-danger, .caret-fall { color: var(--color-danger); }
.accent { color: var(--color-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); min-width: 0; margin-bottom: var(--space-lg); }
.card-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-lg); }
.card-body { padding: var(--space-lg); }
.card-content { padding: 0 var(--space-lg) var(--space-lg); }
.list-section { padding-top: var(--space-lg); padding-bottom: var(--space-sm); }
.card-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.card-subtitle { margin-top: var(--space-sm); color: var(--color-muted); overflow-wrap: anywhere; }
.identifier-heading { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; max-width: 100%; }
.card-note { padding-inline: var(--space-lg); margin-bottom: var(--space-md); color: var(--color-muted); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-xl); padding: 0 var(--space-lg) var(--space-lg); }
.detail-column { min-width: 0; }
.detail-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: 1px solid var(--color-border); }
.detail-row > :first-child { color: var(--color-muted); flex: 0 0 auto; font-size: var(--text-small); }
.detail-row > :last-child { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.detail-row:last-child { border: 0; }
.icon-circle { display: inline-grid; place-items: center; flex: 0 0 auto; width: var(--icon-size); height: var(--icon-size); font-size: var(--icon-glyph-size); border: 1px solid color-mix(in srgb, var(--color-icon), #000 10%); border-radius: 50%; background: var(--color-icon); color: #fff; overflow: hidden; text-shadow: 1px 1px #00507c50, 2px 2px #00507c24; }
.icon-circle-muted { background: var(--color-icon-muted); border-color: var(--color-icon-muted); }
.icon-circle-failed { background: #bb3a45; border-color: #bb3a45; }
.badge, .pill { display: inline-block; align-self: center; padding: 2px 6px; background: var(--color-badge); border-radius: var(--radius-sm); color: var(--color-text); font-size: var(--text-small); line-height: 1.6; vertical-align: middle; }
.pill { border-radius: 999px; }
.badge-danger { color: var(--color-danger); background: var(--color-danger-bg); }
.badge-success { color: var(--color-success); background: var(--color-success-bg); }
.value-undone { color: var(--color-muted); text-decoration: line-through; }
.internal-transfers { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-xs); text-align: right; }
.internal-transfer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-xs); }
.internal-transfer-parties { display: inline-flex; align-items: center; gap: var(--space-xs); white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-sm); min-height: var(--control-height); padding: var(--space-xs) var(--space-md); color: var(--color-accent); background: var(--color-surface); font-size: var(--text-small); font-weight: 600; white-space: nowrap; }
.button:hover { text-decoration: none; background: var(--color-accent-soft); }
.button-primary { background: var(--color-button); border-color: var(--color-button); color: #fff; }
.button-primary:hover:not(:disabled) { background: var(--color-button); filter: brightness(1.12); }
.segmented-control { display: inline-flex; flex-wrap: wrap; gap: var(--space-xs); max-width: 100%; padding: var(--space-xs); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-subtle); }
.segmented-control .button { flex: 1 1 auto; min-height: var(--control-height-small); background: transparent; border-color: transparent; color: var(--color-muted); }
.segmented-control .button:hover { color: var(--color-accent); background: var(--color-accent-soft); }
.segmented-control .button[aria-pressed="true"] { color: var(--color-accent); background: var(--color-surface); border-color: var(--color-border); }
.button-link { background: none; border-color: transparent; }
.button-small { min-height: var(--control-height-small); padding-inline: var(--space-sm); }
.button-icon { width: var(--control-height); padding: 0; font-size: var(--text-size); }
.copy-control { position: relative; display: inline-flex; flex: 0 0 auto; vertical-align: middle; }
.copy-feedback { position: absolute; z-index: 1; right: 0; bottom: calc(100% + var(--space-xs)); width: max-content; max-width: min(var(--copy-feedback-width), calc(100vw - 2 * var(--page-gutter))); font-size: var(--text-small); line-height: 1.5; text-align: left; color: var(--color-text); pointer-events: none; }
.copy-feedback:not(:empty) { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-subtle); }
.copy-control-labeled { flex-direction: column; align-items: center; }
.copy-control-labeled .copy-feedback { position: static; }
.button-block { width: 100%; margin-top: var(--space-lg); }
.notice { color: var(--color-warning); background: var(--color-warning-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-md) var(--space-lg); margin-bottom: var(--space-lg); }
.notice-info { color: var(--color-text); background: var(--color-accent-soft); }
.notice-danger { color: var(--color-danger); background: var(--color-danger-bg); }
.notice-success { color: var(--color-success); background: var(--color-success-bg); }
.card > .notice { margin-inline: var(--space-lg); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-md); }
.prose h2, .prose h3, .prose h4 { margin-bottom: var(--space-md); }
.donation-page, .legal-page { max-width: 850px; margin-inline: auto; }
.donation-page { text-align: center; }
.legal-page { padding: var(--space-xl); }
.lead { font-size: 17px; }
.table-wrap, .list-frame { position: relative; overflow-x: auto; padding: 0 var(--space-lg) var(--space-lg); }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
td, th { border-bottom: 1px solid var(--color-border); padding: var(--space-md) var(--space-sm); text-align: left; vertical-align: middle; }
th, .table-heading td { color: var(--color-muted); font-size: var(--text-label); font-weight: 600; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.row-continued td { border-bottom: 0; padding-bottom: var(--space-xs); }
.row-detail td { padding-top: 0; }
tbody tr.row-continued:hover + tr.row-detail, tbody tr.row-continued:has(+ tr.row-detail:hover) { background: var(--color-subtle); }
tbody tr:hover:not(.table-heading) { background: var(--color-subtle); }
.cell-icon { width: 40px; }
.cell-truncate { max-width: 200px; min-width: 70px; }
.cell-compact { max-width: 120px; min-width: 60px; }
.cell-token-name { max-width: 300px; min-width: 100px; }
.cell-block { width: 80px; }
.cell-age { width: 75px; white-space: nowrap; }
.hash-text { min-width: 70px; }
.align-top { vertical-align: top; }
.list-loading table { opacity: .55; }
.list-loading-bar { position: absolute; inset: 0 var(--space-lg) auto; height: 2px; pointer-events: none; }
.list-loading-bar.is-loading { background: var(--color-accent); }
.loading { display: grid; place-items: center; padding: var(--space-xl); }
.spinner { display: inline-block; width: 24px; height: 24px; border: 2px solid var(--color-border); border-top-color: var(--color-accent); border-radius: 50%; animation: spin .8s linear infinite; }
.boot-spinner { display: grid; place-items: center; align-content: center; gap: var(--space-lg); min-height: 100dvh; padding: 0 var(--page-gutter); }
.boot-spinner[hidden] { display: none; }
.boot-spinner:not([hidden]) + #app { display: none; }
.boot-intro { max-width: 40rem; text-align: center; color: var(--color-muted); }
.boot-intro h1 { margin: 0 0 var(--space-sm); color: var(--color-text); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner, .fa-spin { animation: none; } }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 0 var(--space-lg) var(--space-lg); font-size: var(--text-small); }
.pager-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-xs); }
.pager-jump { display: flex; align-items: center; gap: var(--space-xs); }
.pager-jump input { min-height: var(--control-height-small); padding: var(--space-xs) var(--space-sm); }
.page-jump { width: 6em; }
.start-jump { width: 13em; }
.dropdown { position: relative; }
.dropdown-toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: var(--space-xs); border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.dropdown-menu { position: absolute; z-index: 40; top: calc(100% + var(--space-xs)); left: 0; min-width: 100%; padding: var(--space-xs); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); box-shadow: 0 8px 24px #00152518; }
.dropdown-menu-right { left: auto; right: 0; }
.dropdown-item { display: block; width: 100%; border: 0; text-align: left; white-space: nowrap; }
.metric-options { max-height: 60vh; overflow-y: auto; }
.page-menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.page-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: var(--space-sm) 0; background: none; color: var(--color-muted); }
.page-tab h5 { font-size: 13px; }
.page-tab.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.page-tab:hover:not(:disabled) { background: none; color: var(--color-accent); }
.field { display: grid; gap: var(--space-xs); margin-bottom: var(--space-md); min-width: 0; }
.field label { font-size: var(--text-small); color: var(--color-muted); }
.field > input, .field > select, .field > textarea, .input { width: 100%; }
input:disabled, select:disabled, textarea:disabled { color: var(--color-muted); background: var(--color-subtle); cursor: not-allowed; }
.select-field { position: relative; display: block; }
.select-field select { appearance: none; padding-inline-end: calc(var(--space-md) + var(--select-arrow-size) + var(--space-sm)); }
.select-field > .fa-angle-down { position: absolute; inset-inline-end: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--color-muted); font-size: var(--select-arrow-size); pointer-events: none; }
@media (forced-colors: active) {
    .select-field select { appearance: auto; padding-inline-end: var(--space-md); }
    .select-field > .fa-angle-down { display: none; }
}
.input-compact { width: auto; }
.form-section { min-width: 0; margin: var(--space-lg) 0; padding: var(--space-md) 0 0; border: 0; border-top: 1px solid var(--color-border); }
.form-section > legend { padding: 0 var(--space-md) 0 0; font-weight: 600; }
.form-grid { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.form-grid > .field { flex: 1 1 180px; }
.form-grid > .check-field { flex: 1 1 180px; align-self: end; margin-bottom: var(--space-md); }
.check-field { display: flex; align-items: center; gap: var(--space-sm); min-height: var(--control-height); }
.verify-form { flex: 3 1 560px; padding: var(--space-lg); }
.export-form { flex: 1 1 420px; padding: var(--space-lg); }
.verify-notes, .export-notes { flex: 1 1 280px; padding: var(--space-lg); }
.verify-form textarea, .input-data, .source-code { font-family: var(--font-code); font-size: 12px; }
.contract-views { margin-bottom: var(--space-md); }
.contract-functions { display: grid; gap: var(--space-sm); }
.contract-function { min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); }
.contract-function > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); font-size: var(--text-small); list-style: none; }
.contract-function > summary::-webkit-details-marker { display: none; }
.contract-function[open] > summary { border-bottom: 1px solid var(--color-border); }
.contract-function-marker { color: var(--color-muted); transition: transform 0.15s; }
.contract-function[open] > summary > .contract-function-marker { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .contract-function-marker { transition: none; } }
.contract-function-body { display: grid; justify-items: start; gap: var(--space-sm); padding: var(--space-md); }
.contract-function-body > .field { width: 100%; margin-bottom: 0; }
.contract-result { display: grid; gap: var(--space-xs); width: 100%; min-width: 0; }
.contract-result:empty { margin-top: calc(-1 * var(--space-sm)); }
.contract-result > .notice { margin: 0; }
.code-panel { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-subtle); padding: var(--space-md); margin-top: var(--space-sm); overflow-wrap: anywhere; }
.input-data { max-height: 200px; overflow-y: auto; }
.source-code { max-height: 480px; overflow: auto; white-space: pre; }
.contract-content { display: grid; gap: var(--space-lg); }
.contract-content > .notice, .contract-content section .notice { margin-bottom: 0; }
.contract-content > .detail-grid, .contract-content section > .detail-grid { padding: 0; }
.contract-content section { min-width: 0; }
.contract-content .source-code { margin-bottom: 0; }
.contract-content .address-list { display: grid; gap: var(--space-xs); justify-items: start; }
.contract-empty { justify-items: start; padding-block: var(--space-md); }
.argument-group { border-left: 1px solid var(--color-nested-rule); padding-left: var(--space-sm); margin-left: var(--space-xs); }
.divided { padding-block: var(--space-md); border-bottom: 1px solid var(--color-border); }
.transfer-party { flex: 1 1 150px; min-width: 0; }
.chart-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.chart-row > .card { margin-bottom: 0; }
.chart-row { margin-bottom: var(--space-lg); }
.statistics-period { width: 100%; }
.statistics-context { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-small); }
.chart-card { display: flex; flex-direction: column; }
.chart-header { padding: var(--space-lg); }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--control-height-small); }
.chart-heading h5 { color: var(--color-muted); min-width: 0; }
.chart-heading .dropdown { min-width: 0; max-width: 60%; flex-shrink: 0; }
.chart-heading .dropdown-toggle { max-width: 100%; white-space: normal; text-align: left; }
.chart-body { position: relative; margin-top: auto; }
.chart-result[inert] { visibility: hidden; }
.chart-result:empty { aspect-ratio: var(--chart-aspect-ratio); }
.chart-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--space-md); color: var(--color-muted); pointer-events: none; }
.chart-content { margin-top: auto; }
.chart-unit { padding-inline: var(--space-lg); color: var(--color-muted); font-size: var(--text-label); }
.chart-plot { position: relative; border-radius: var(--radius-sm); }
.stats-chart { display: block; width: 100%; height: auto; }
.chart-partial-band { fill: var(--color-warning-bg); stroke: var(--color-warning); stroke-opacity: .3; stroke-width: 1; }
.chart-partial-line { opacity: .45; stroke-dasharray: 5 4; }
.chart-hit-area { fill: transparent; cursor: crosshair; }
.chart-guide { pointer-events: none; }
.chart-guide line { stroke: var(--color-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-guide circle { fill: var(--color-surface); stroke: var(--color-accent); stroke-width: 2; }
.chart-tooltip { position: absolute; z-index: 1; inset-block-start: var(--chart-tooltip-gap); inset-inline-end: var(--chart-tooltip-gap); max-width: calc(100% - 2 * var(--chart-tooltip-gap)); padding: var(--space-sm) var(--space-md); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: 0 2px 8px #00152518; font-size: var(--text-small); pointer-events: none; overflow-wrap: anywhere; }
.chart-tooltip-partial { display: block; color: var(--color-warning); margin-top: var(--space-xs); }
.chart-tooltip [hidden] { display: none; }
.chart-grid { stroke: var(--color-border); stroke-width: 1; }
.chart-axis { fill: var(--color-muted); font-size: 12px; }
.chart-bar, .chart-dot { fill: var(--color-accent); }
.chart-line, .sparkline-line, .price-sparkline { fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-partial { opacity: .35; }
.stats-chart-dense .chart-line { stroke-width: var(--chart-dense-line-width); }
.stats-chart-dense .chart-dot:not(:hover) { opacity: 0; }
.sparkline { display: block; width: 100%; height: 54px; }
.sparkline-line { stroke-width: 2; vector-effect: non-scaling-stroke; }
.directory-intro { margin: var(--space-sm) 0 0; font-size: var(--text-small); }
.directory-search { flex: 0 1 330px; }
.directory-search input { width: 100%; }
.directory { display: grid; grid-template-columns: var(--directory-sidebar-width) minmax(0, 1fr); border-top: 1px solid var(--color-border); }
.directory-sidebar { min-width: 0; padding: var(--space-lg) var(--space-sm); border-right: 1px solid var(--color-border); background: var(--color-subtle); border-radius: 0 0 0 var(--radius); }
.directory-groups { position: sticky; top: var(--space-lg); }
.directory-groups h5 { padding-inline: var(--space-md); margin-bottom: var(--space-md); font-size: var(--text-small); }
.directory-groups ul, .directory-addresses { list-style: none; padding: 0; margin: 0; }
.directory-group { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); width: 100%; text-align: left; padding: var(--space-md); border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--color-muted); }
.directory-group > span:first-child { overflow-wrap: anywhere; }
.directory-group .badge { flex: 0 0 auto; }
.directory-group:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.directory-group[aria-pressed="true"] { border-color: var(--color-border); color: var(--color-accent); background: var(--color-surface); font-weight: 600; }
.directory-content { min-width: 0; padding: var(--space-lg); }
.directory-picker { display: none; }
.directory-description { margin-block: var(--space-md) var(--space-lg); max-width: 75ch; line-height: 1.7; }
.directory-source { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-small); }
.directory-addresses { margin-top: var(--space-md); }
.directory-addresses li + li { border-top: 1px solid var(--color-border); }
.directory-address { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-md) var(--space-sm); border-radius: var(--radius-sm); }
.directory-address:hover { text-decoration: none; background: var(--color-accent-soft); }
.directory-address > span { display: grid; gap: var(--space-xs); min-width: 0; overflow-wrap: anywhere; }
.directory-address strong { font-weight: 600; }
.directory-address .mono { font-size: var(--text-small); }
.directory-address > i { flex: 0 0 auto; }
.asset-warning { margin-left: var(--space-xs); cursor: help; }
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.ticker { background: var(--color-ticker); color: var(--color-ticker-muted); font-size: var(--text-small); }
.ticker-inner { display: flex; justify-content: space-between; align-items: center; min-height: 35px; gap: var(--space-lg); }
.ticker-facts { display: flex; gap: var(--space-lg); white-space: nowrap; }
.ticker-facts strong { color: var(--color-ticker-text); font-weight: 500; margin-left: var(--space-xs); }
.preferences { display: flex; align-items: center; gap: var(--space-sm); }
.ticker .preference { background: transparent; border: 0; min-height: 0; color: var(--color-ticker-text); font-size: var(--text-label); padding: 3px; }
.ticker .theme-toggle { border-inline-end: 1px solid var(--color-ticker-border); border-radius: 0; padding-inline: var(--space-sm); }
.ticker .theme-toggle:hover { background: var(--color-ticker-hover); color: var(--color-ticker-text); }
.mobile-preferences .theme-toggle:hover { background: var(--color-accent-soft); }
.ticker option { background: var(--color-ticker); }
.ticker :focus-visible { outline-color: var(--color-ticker-text); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); }
.navbar { display: flex; align-items: center; gap: 37px; min-height: 73px; }
.logo { width: 187px; display: block; }
.logo svg { display: block; width: 100%; height: auto; }
.chain-wordmark text { font-size: 32px; font-weight: 750; letter-spacing: -.065em; fill: var(--color-logo-muted); }
.chain-wordmark .chain-wordmark-prefix { font-size: 20px; font-weight: 500; letter-spacing: -.04em; fill: var(--color-muted); }
.chain-wordmark .chain-wordmark-accent { fill: var(--color-logo); }
.logo svg path[fill="#0464B1"] { fill: var(--color-logo); }
.logo svg path[fill="#858585"] { fill: var(--color-logo-muted); }
.navigation { display: flex; gap: 25px; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-size: 12px; font-weight: 600; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary > .nav-icon { display: none; }
.nav-group summary > .fa-angle-down { font-size: 12px; color: var(--color-muted); }
.nav-group[open] summary > .fa-angle-down { transform: rotate(180deg); }
.nav-panel { position: absolute; z-index: 30; top: 100%; left: -12px; width: 225px; padding: var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); box-shadow: 0 8px 24px #00152518; }
.nav-panel a { display: block; color: var(--color-text); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); font-size: 12px; }
.nav-panel a:hover { background: var(--color-accent-soft); text-decoration: none; color: var(--color-accent); }
.nav-panel h3 { padding: var(--space-sm) var(--space-md); font-size: var(--text-label); text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); }
.search { position: relative; min-width: 0; }
.navbar > .search { margin-left: auto; width: min(342px, 31%); }
.search-field { display: flex; height: var(--control-height); border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; background: var(--color-surface); }
.search-field:focus-within { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.search-field input { flex: 1; width: 0; min-height: 0; border: 0; border-radius: 0; background: transparent; font-size: var(--text-label); }
.search-field input:focus-visible { outline: 0; }
.search-field button { border: 0; border-left: 1px solid var(--color-border); border-radius: 0; background: var(--color-accent-soft); color: var(--color-accent); font-size: var(--text-label); font-weight: 600; min-height: 0; }
.search-backdrop { position: fixed; inset: 0; z-index: 35; }
.search-results { position: absolute; top: calc(100% + var(--space-sm)); inset-inline: 0; z-index: 40; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-md); box-shadow: 0 8px 24px #00152518; }
.search-results a { display: block; padding: var(--space-sm); }
.mobile-header { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); flex: 0 0 auto; width: var(--menu-control-width); height: var(--menu-control-height); padding-inline: var(--space-sm); border-radius: 7px; background: var(--color-subtle); font-size: 12px; white-space: nowrap; }
.menu-toggle .fa { width: 1em; text-align: center; }
.mobile-menu { inset: 0 0 0 auto; margin: 0; width: min(380px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: var(--mobile-header-padding) var(--page-gutter) var(--space-xl); border: 0; border-left: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); overflow: hidden; }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu::backdrop { background: var(--color-backdrop); }
html:has(.mobile-menu[open]) { overflow: hidden; }
.mobile-menu-heading { display: flex; flex: 0 0 auto; padding-inline-end: var(--menu-scrollbar-width); justify-content: space-between; align-items: center; gap: var(--space-lg); padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.mobile-menu-heading .logo { width: 145px; }
.mobile-menu .navigation { display: block; margin-top: 10px; }
.mobile-menu .nav-group { border-bottom: 1px solid var(--color-border); }
.mobile-menu summary { min-height: 55px; font-size: 14px; gap: 12px; padding-inline: 4px; }
.mobile-menu summary > .nav-icon { display: inline-block; width: 18px; color: var(--color-accent); }
.mobile-menu summary > .fa-angle-down { margin-left: auto; }
.mobile-menu .nav-panel { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 13px; }
.mobile-menu .nav-panel a { min-height: 44px; padding: 9px 13px 9px 34px; font-size: 13px; color: var(--color-muted); }
.mobile-menu .nav-panel h3 { padding-left: 34px; }
.mobile-preferences { margin-top: 26px; }
.mobile-preferences h3 { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .055em; margin-bottom: 17px; }
.mobile-preferences .theme-toggle { width: 100%; min-height: 44px; background: var(--color-subtle); margin-bottom: 18px; font-size: 12px; }
.mobile-preferences .preferences { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.mobile-preferences label { font-size: 11px; color: var(--color-muted); }
.mobile-preferences .select-field { margin-top: var(--space-sm); }
.mobile-preferences select { display: block; width: 100%; min-height: 44px; font-size: 13px; }
.hero { isolation: isolate; position: relative; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-accent-soft); padding: 27px 30px 29px; text-align: center; margin-bottom: var(--space-lg); }
.hero:has(.search-results) { z-index: 50; }
.hero::before { border-radius: inherit; content: ""; position: absolute; z-index: -1; inset: 0; background: var(--hero-image) center / cover; opacity: var(--hero-opacity); }
.hero::after { border-radius: inherit; content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent, var(--color-hero-wash) 40%, var(--color-hero-wash) 60%, transparent); }
.hero .logo { width: 255px; margin-inline: auto; }
.hero h5 { color: var(--color-muted); font-size: 13px; font-weight: 400; margin-top: 3px; }
.hero .search { max-width: 740px; margin: 23px auto 0; }
.hero .search-field { height: 51px; }
.hero .search-field input { font-size: 13px; padding-inline: 18px; }
.hero .search-field button { width: 56px; margin: 4px; border-radius: var(--radius-sm); color: #fff; background: var(--color-button); font-size: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--space-md); margin-bottom: var(--space-md); }
.metric { margin: 0; min-height: 132px; padding: 18px; }
.metric small { font-size: var(--text-label); color: var(--color-muted); }
.metric-grid > div > small { display: block; line-height: 1.5; }
.metric h6 { font-size: var(--text-metric); margin: 3px 0 12px; }
.metric h6:last-child { margin-bottom: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-md); align-items: center; }
.metric-supply { container-type: inline-size; grid-template-columns: minmax(0,1fr) minmax(max-content,1fr); align-items: start; align-content: center; }
.metric-supply h6 { font-size: clamp(11px, 5.8cqi, var(--text-metric)); }
.metric-network { grid-template-columns: 1fr 1.2fr; }
.metric-amount { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 4px; }
.metric-amount > span { white-space: nowrap; }
.metric-amount small { font-size: 9px; font-weight: 500; white-space: nowrap; }
.metric-price { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.metric-price:not(:has(.price-chart)) { display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 0; }
.metric-price h4 { font-size: 30px; line-height: 1.5; font-weight: 550; }
.metric-price .price-chart { min-width: 0; width: 48%; }
.metric-price:has(.price-chart) h4 { font-size: clamp(16px, 1.6vw, 24px); letter-spacing: -.025em; }
.price-periods { display: flex; gap: 2px; }
.metric-price svg { width: 100%; height: 44px; }
.metric-price .button { min-height: 24px; padding: 0 4px; font-size: 9px; }
.metric-price .spread { gap: var(--space-xs); }
.metric-chart { display: flex; flex-direction: column; color: var(--color-text); }
.metric-chart:hover { text-decoration: none; border-color: var(--color-accent); }
.metric-chart h2 { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--color-muted); line-height: 1.5; }
.metric-chart h2 span { font-size: 8px; font-weight: 400; }
.metric-chart .sparkline { margin: 5px 0 7px; }
.sparkline-area { fill: color-mix(in srgb, var(--color-accent), transparent 96%); }
.metric-chart p { display: flex; align-items: baseline; gap: 4px; color: var(--color-muted); font-size: 9px; }
.metric-chart strong { margin-left: auto; font-size: 11px; font-weight: 650; color: var(--color-text); }
.metric-chart strong small { font-size: 9px; font-weight: 400; }
.metrics-toggle { display: none; }
.home-support-note { display: flex; align-items: flex-start; gap: var(--space-md); max-width: 895px; margin: 22px auto; padding: 14px 18px; background: var(--color-history); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-muted); font-size: var(--text-small); }
.home-support-note > .fa { margin-top: 3px; font-size: 16px; }
.home-support-note h2 { font-size: 12px; margin-bottom: var(--space-xs); }
.home-support-note a { display: inline-block; margin-top: var(--space-xs); font-weight: 600; }
.activity { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-lg); }
.activity .table-wrap { padding-inline: 13px; }
.activity .card-header h5 { font-size: 14px; font-weight: 650; }
.activity .card-header > a { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: 10px; font-weight: 600; }
.activity table { table-layout: fixed; font-size: 11px; }
.activity th { font-size: 9px; }
.activity th { padding: 0 5px 10px; }
.activity td { padding: 12px 5px; height: 54px; }
.activity td:last-child { color: var(--color-muted); font-size: 10px; white-space: nowrap; }
.activity th:last-child, .activity td:last-child { text-align: right; }
.activity td a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity .icon-column { width: 40px; }
.activity .block-column { width: 73px; }
.activity .count-column { width: 37px; }
.activity .amount-column { width: 100px; }
.activity .age-column { width: 68px; }
.activity td:nth-child(2) a { font-weight: 650; }
.activity .badge { max-width: 100%; white-space: nowrap; }
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding-top: var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr .9fr; gap: 48px; padding-bottom: 26px; }
.footer-grid h6 { margin-bottom: var(--space-md); font-size: var(--text-small); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--space-xs); }
.footer-grid a, .footer-grid p { color: var(--color-muted); font-size: var(--text-small); }
.footer-grid .footer-powered { display: block; color: var(--color-text); font-size: 16px; font-weight: 400; margin-bottom: 11px; }
.footer-powered strong { color: var(--color-accent); font-weight: 650; }
.footer-powered span { color: var(--color-muted); font-size: 12px; margin-left: 5px; }
.footer-about p { max-width: 315px; line-height: 1.85; }
.footer-bottom { border-top: 1px solid var(--color-border); min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--color-muted); font-size: 9px; }
.footer-bottom a { color: var(--color-text); }
.footer-version { display: flex; gap: 23px; align-items: baseline; }
.footer-version a { display: inline-flex; align-items: center; gap: 5px; color: var(--color-accent); font-weight: 600; }
.heart { color: var(--color-heart); font-size: 12px; }
#blazor-error-ui { display: none; position: fixed; inset: auto 0 0; z-index: 100; padding: var(--space-md) var(--space-lg); color: var(--color-danger); background: var(--color-danger-bg); border-top: 1px solid var(--color-border); }
#blazor-error-ui a { margin-left: var(--space-sm); text-decoration: underline; }
@media (max-width: 1120px) {
    :root { --page-gutter: 24px; --text-metric: 13px; }
    .navbar { gap: 25px; }
    .navigation { gap: 18px; }
    .ticker-facts { gap: 10px; font-size: 9px; }
    .metric { padding: 13px; }
    .activity .amount-column { width: 87px; }
}
@media (max-width: 900px) {
    .ticker, .desktop-header, .hero { display: none; }
    .mobile-header { display: block; padding-block: var(--mobile-header-padding); }
    .mobile-header > .spread { flex-wrap: nowrap; margin-bottom: 14px; }
    .mobile-header > .spread > a { min-width: 0; }
    .mobile-header > .spread .logo { max-width: 100%; }
    .mobile-header .search-field { height: 45px; }
    .mobile-header .search-field input { font-size: 16px; }
    .mobile-header .search-field input::placeholder { font-size: 14px; }
    .mobile-header .search-field button { font-size: 12px; padding-inline: 18px; }
    .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .metrics .metric-price, .metrics .metric-supply { display: none; }
    .metrics:has(+ .metrics-toggle[open]) .metric-price { display: flex; order: 3; }
    .metrics:has(+ .metrics-toggle[open]) .metric-supply { display: grid; order: 4; }
    .metrics-toggle { display: block; }
    .metrics-toggle summary { min-height: 40px; text-align: center; color: var(--color-muted); font-size: 11px; list-style: none; }
    .metrics-toggle summary::-webkit-details-marker { display: none; }
    .metrics-toggle .fa { margin-left: var(--space-sm); }
    .metrics-toggle[open] .fa { transform: rotate(180deg); }
    .activity { grid-template-columns: 1fr; }
    .activity .age-column, .activity th:last-child, .activity td:last-child { display: none; }
    .activity th:nth-last-child(2), .activity td:nth-last-child(2) { text-align: right; }
    .activity .amount-column { width: 110px; }
    .footer-grid { grid-template-columns: repeat(3,1fr); gap: 24px; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .segmented-control { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .segmented-control .button { min-height: var(--control-height); white-space: normal; }
    .directory { grid-template-columns: minmax(0, 1fr); }
    .directory-sidebar { display: none; }
    .directory-picker { display: grid; margin-bottom: var(--space-lg); }
    .directory-search { flex-basis: 100%; }
    :root { --page-gutter: 16px; --space-lg: 16px; --text-metric: 12px; }
    .logo { width: 170px; }
    .menu-toggle { font-size: 11px; }
    .mobile-header .search-field button { padding-inline: 12px; }
    .detail-grid, .chart-row { grid-template-columns: 1fr; }
    .detail-row { flex-wrap: wrap; gap: var(--space-sm); }
    .detail-row > :last-child { flex: 1; }
    .detail-row > :is(.badge, .pill):last-child { flex: 0 1 auto; margin-left: auto; }
    .pager-secondary { display: none; }
    .page-menu { gap: var(--space-md); }
    .card-header { align-items: flex-start; }
    .metric { padding: 14px 12px; min-height: 137px; }
    .metric small { font-size: 8px; }
    .metric-price, .metric-supply { grid-column: 1 / -1; min-height: 112px; }
    .metric-amount small { font-size: 8px; }
    .metric-chart h2 { font-size: 8px; }
    .metric-chart h2 span { display: block; }
    .metric-chart p { display: block; font-size: 8px; }
    .metric-chart strong { margin-left: 0; }
    .metric-chart strong::before { content: ""; display: block; margin-top: 2px; }
    .metric-grid { gap: 8px; }
    .metric-price h4 { font-size: 20px; }

    .home-support-note { font-size: 10px; margin: 5px auto 16px; }
    .activity { gap: 14px; }
    .activity th { font-size: 8px; }
    .activity table, .activity .badge { font-size: 10px; }
    .activity .icon-column { width: 36px; }
    .activity .block-column { width: 60px; }
    .activity .count-column { width: 29px; }
    .activity .amount-column { width: 85px; }
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 25px 20px; }
    .footer-grid > :last-child { grid-column: 2; grid-row: 2 / 4; }
    .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 15px; gap: 5px; }
}
@media (max-width: 480px) {
    .metrics { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
    .mobile-preferences .preferences { grid-template-columns: minmax(0, 1fr); }
}
