/* WartNode's shared visual language: Montserrat, charcoal, and gold. */
@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0f11;
  --panel: #141618;
  --panel2: #191b1e;
  --line: #ffffff10;
  --text: #eceef1;
  --muted: #92969e;
  --gold: #fdb913;
  --green: #7fcb9b;
  --red: #ff9393;
  --radius: 14px;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Montserrat, Arial, sans-serif;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 140px; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: var(--text); }
button, a, input, select, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
button { background: var(--panel2); border: 1px solid #ffffff15; border-radius: 8px; padding: 10px 15px; font-size: 12px; font-weight: 600; transition: background .15s, border-color .15s; }
button:hover:not(:disabled) { background: #25282b; border-color: #ffffff25; }
input, select { background: var(--panel2); border: 1px solid #ffffff15; border-radius: 8px; padding: 11px 13px; min-width: 0; }
input::placeholder { color: #888d96; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
h1 { font-size: 32px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { line-height: 1.8; }
small { font-size: 12px; }
svg { display: block; flex-shrink: 0; }
a:hover { color: var(--gold); }
[hidden] { display: none !important; }
::selection { background: #fdb91340; color: #fff; }
.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; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--gold); color: #18140b; padding: 10px 18px; border-radius: 7px; }
.skip:focus { top: 10px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.small-label, .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .13em; color: var(--muted); text-transform: uppercase; }

/* Shared two-row shell, following the existing WartNode explorer. */
.site-header { position: sticky; top: 0; z-index: 30; background: #0d0f11f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-utility, .header-navigation { max-width: 1440px; margin: auto; padding-inline: 24px; }
.header-utility { display: flex; align-items: center; gap: 18px; min-height: 73px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 24px; font-weight: 700; letter-spacing: -.055em; line-height: 1.2; }
.brand:hover { color: var(--text); }
.brand img { flex-shrink: 0; }
.product-label { border-left: 1px solid #ffffff1c; padding-left: 17px; color: var(--muted); font-size: 10px; letter-spacing: .13em; font-weight: 600; }
.network { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--gold); background: var(--panel); font-size: 12px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); display: inline-block; flex-shrink: 0; }
.network .dot { background: var(--gold); }
.header-utility form { display: flex; align-items: center; flex: 1; min-width: 180px; height: 44px; gap: 10px; padding: 0 13px; background: var(--panel2); border: 1px solid #ffffff15; border-radius: 8px; }
.header-utility form > svg { width: 19px; height: 19px; stroke: var(--muted); stroke-width: 1.5; fill: none; }
.header-utility form:focus-within { border-color: #fdb91360; }
.header-utility input { width: 100%; height: 100%; background: transparent; border: 0; padding: 0; font-size: 12px; }
.header-utility input:focus-visible { outline: none; }
.header-utility form button { background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 0 0 0 12px; color: var(--muted); }
.header-utility form button:hover { color: var(--gold); background: transparent; }
.header-utility form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header-resources { display: flex; align-items: center; gap: 17px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.header-navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-navigation { display: flex; align-items: center; gap: 28px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.main-navigation::-webkit-scrollbar { display: none; }
.main-navigation a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; font-size: 12px; white-space: nowrap; color: #c9cbd0; }
.main-navigation a.active { color: var(--gold); border-color: var(--gold); }
.main-navigation a:hover { color: var(--gold); }
.connection { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--muted); font-size: 10px; white-space: nowrap; }
.connection.offline { color: var(--red); }
.connection.offline .dot { background: var(--red); }
.workspace { width: 100%; }
main { max-width: 1440px; margin: auto; padding: 32px 24px 38px; min-height: calc(100vh - 300px); }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.page-heading p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.page-heading .eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.page-heading .eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.heading-meta { font-size: 10px; color: var(--muted); line-height: 2; padding-top: 35px; text-align: right; }
.heading-meta .mono { color: var(--text); }

.notice, .demo-banner { max-width: 1440px; margin: auto; padding: 11px 24px; font-size: 11px; border-bottom: 1px solid #fdb91320; background: #fdb91306; color: #dbc48d; line-height: 1.8; }
.notice { color: var(--red); background: #ff7f7f08; border-color: #ff7f7f20; }
.replay { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 16px 20px; }
.replay-icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid #7fcb9b25; border-radius: 8px; color: var(--green); background: #7fcb9b08; font-size: 17px; }
.replay-title { font-size: 12px; font-weight: 500; margin-bottom: 3px; }
.replay-description { font-size: 11px; color: var(--muted); }
.replay-progress { width: 25%; min-width: 130px; margin-left: auto; }
.replay-progress > div { font-family: var(--mono); color: var(--gold); font-size: 10px; text-align: right; margin-bottom: 8px; }
progress { width: 100%; height: 3px; appearance: none; display: block; border: 0; border-radius: 3px; background: #ffffff10; }
progress::-webkit-progress-bar { background: #ffffff10; border-radius: 3px; }
progress::-webkit-progress-value { background: var(--gold); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--gold); border-radius: 3px; }

.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
.stat { min-width: 0; padding: 20px 21px 17px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(125deg,#191b1f 0%,#131517 70%); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.stat-mark { width: 20px; height: 20px; color: #fdb91375; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.stat-value { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px; min-height: 42px; margin: 20px 0 14px; font-size: clamp(22px,2.3vw,30px); font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1.4; }
.stat-number { max-width: 100%; }
.stat-value small { font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.stat-note { display: flex; align-items: center; flex-wrap: wrap; column-gap: 5px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.stat-note b { color: #c6cad1; font-weight: 400; }

.watch-section { margin-bottom: 26px; }
.watch-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.watch-heading h2 { font-size: 16px; }
.watch-heading > span { color: var(--muted); font-size: 10px; }
.watch-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.watch-card { display: block; min-width: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; transition: background .15s,border-color .15s; }
.watch-card:hover { background: #fdb91306; border-color: #fdb91340; }
.watch-card > span { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: var(--muted); font-size: 11px; }
.watch-card b { font-weight: 400; color: #747b85; }
.watch-card strong { display: block; margin: 13px 0 9px; font-size: 26px; font-weight: 500; letter-spacing: -.045em; line-height: 1.4; font-variant-numeric: tabular-nums; }
.watch-card small { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; }
.watch-card.large strong { color: var(--gold); }
.watch-card.whale strong, .watch-card.fresh strong { color: var(--green); }
.watch-card.hot strong { color: var(--red); }
.watch-card.warm strong { color: #f6d365; }
.watch-card.cold strong { color: #9bb3ca; }

.two-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 24px; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg,#141719,#111416); }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 23px 0; }
.panel-header p { font-size: 11px; margin-top: 7px; color: var(--muted); }
.panel-header > a { color: var(--muted); font-size: 11px; white-space: nowrap; }
.panel-header > a:hover { color: var(--gold); }
.pill { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.chart-wrap { padding: 24px 23px 12px; }
.chart { width: 100%; height: 178px; overflow: visible; }
.chart-grid { stroke: #ffffff0a; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-bar { fill: var(--gold); opacity: .85; }
.chart-bar:hover { fill: #ffcb4b; opacity: 1; }
.chart-axis { font-family: var(--mono); font-size: 9px; fill: var(--muted); }
.chart-foot { display: flex; justify-content: space-between; gap: 15px; padding: 0 23px 19px; color: var(--muted); font-size: 9px; }
.categories { display: grid; gap: 15px; padding: 24px 23px 20px; }
.category-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; }
.category-line a { display: inline-flex; align-items: center; gap: 8px; }
.category-line .mono { font-size: 10px; color: #d7dbe0; }
.category-key { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }
.category-key.secondary { background: var(--green); }
.category-key.other { background: #8d9fb4; }
.category-bar { margin-top: 8px; height: 2px; }
.category-bar::-webkit-progress-value { background: #fdb91390; }
.category-bar::-moz-progress-bar { background: #fdb91390; }
.category-note { padding: 14px 23px; font-size: 10px; line-height: 1.8; color: var(--muted); border-top: 1px solid var(--line); }

.table-title { padding-bottom: 19px; }
.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 15px 22px; border-block: 1px solid var(--line); background: #ffffff01; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .025em; text-transform: uppercase; }
td { padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 12px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #ffffff02; }
.hash-link { font-family: var(--mono); font-size: 11px; font-weight: 400; padding: 0; border: 0; background: transparent; color: var(--gold); }
.hash-link:hover:not(:disabled) { background: transparent; color: #ffcb4b; }
.occurrence-choices { display: grid; gap: 10px; margin: 22px 0; }
.occurrence-choice { width: 100%; padding: 15px; text-align: left; display: grid; gap: 9px; color: var(--text); background: var(--panel); border: 1px solid var(--line); }
.occurrence-choice:hover { border-color: var(--gold); }
.occurrence-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 12px; }
.occurrence-top strong { font-weight: 500; color: var(--gold); }
.occurrence-parties { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid #7fcb9b25; border-radius: 5px; font-size: 10px; line-height: 1.5; color: var(--green); background: #7fcb9b08; }
.type-badge.inferred { border-color: #fdb91325; color: var(--gold); background: #fdb91308; }
.type-badge.neutral { border-color: #ffffff15; background: #ffffff03; color: #b3bac4; }
.type-badge::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.address-cell { display: flex; align-items: center; gap: 9px; }
.address-cell a { font-family: var(--mono); font-size: 11px; color: #b5bbc4; }
.address-cell a:hover { color: var(--gold); }
.address-cell .label-name { font-family: var(--sans); font-size: 11px; color: var(--text); }
.address-cell .arrow { color: #616976; }
.amount-cell { text-align: right; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.time-cell { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.time-cell a { color: #c0c6ce; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 22px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.table-footer a { color: var(--gold); }
.table-footer button { font-size: 11px; }
.pagination { display: flex; align-items: center; gap: 10px; }

.lower-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 24px; }
.top-accounts { padding: 12px 23px 17px; }
.top-account { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.top-account:last-child { border-bottom: 0; }
.top-account > a { display: flex; align-items: center; gap: 13px; min-width: 0; }
.top-account .rank { color: var(--muted); font-family: var(--mono); font-size: 10px; min-width: 18px; }
.top-account .mono { font-size: 11px; white-space: nowrap; }
.method { padding: 18px 23px 22px; }
.method-row { display: flex; gap: 14px; padding: 10px 0; font-size: 12px; }
.method-row > span { font-family: var(--mono); color: var(--gold); font-size: 10px; padding-top: 3px; }
.method-row p { margin-top: 4px; color: var(--muted); font-size: 11px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.field { display: grid; gap: 7px; font-size: 11px; color: var(--muted); }
.field input { min-width: 230px; font-size: 11px; }
.field select { min-width: 190px; font-size: 11px; }
.field.block input { min-width: 110px; width: 125px; }
.toolbar button[type='submit'] { min-height: 41px; color: #18140b; background: var(--gold); border-color: var(--gold); }
.toolbar button[type='submit']:hover { background: #ffcb4b; }
.check-field { display: inline-flex; align-items: center; gap: 8px; min-height: 41px; font-size: 11px; color: #c0c5ce; }
.check-field input { width: 15px; height: 15px; accent-color: var(--gold); padding: 0; }
.source-link { font-size: 11px; color: var(--gold); }
.hashrate-panel { margin-block: 22px; }
.hashrate-current { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; }
.hashrate-current > div { display: grid; gap: 7px; }
.hashrate-current span, .hashrate-current small, #hashrate-progress, .hashrate-description, .hashrate-method { color: var(--muted); font-size: 11px; line-height: 1.8; }
.hashrate-current strong { font-family: var(--mono); font-size: 27px; font-weight: 500; }
#hashrate-progress { max-width: 430px; text-align: right; }
.hashrate-description, .hashrate-method, .hashrate-error { padding: 0 23px 16px; }
.hashrate-error { color: var(--red); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.hashrate-plot { position: relative; padding: 0 12px; }
#hashrate-svg { width: 100%; height: auto; min-height: 190px; max-height: 330px; display: block; }
.hashrate-era-marker { stroke: var(--muted); stroke-dasharray: 4 4; opacity: .7; }
.hashrate-narrow .chart-axis { font-size: 14px; }
.hashrate-empty { position: absolute; top: 25%; left: 15%; right: 10%; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; background: var(--panel); padding: 12px; }
.hashrate-inspector { display: grid; grid-template-columns: auto minmax(100px, 1fr); gap: 10px 18px; padding: 15px 23px; font-size: 11px; color: var(--muted); }
.hashrate-inspector input { min-width: 0; width: 100%; padding: 0; accent-color: var(--gold); }
.hashrate-inspector output { grid-column: 1 / -1; min-height: 35px; line-height: 1.8; overflow-wrap: anywhere; }
#hashrate-data > summary { padding: 16px 23px; color: var(--gold); cursor: pointer; font-size: 12px; }
.hashrate-method { padding-top: 15px; }
.network-controls { margin-bottom: 20px; }
.network-ranges, #network-range-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 18px 23px; }
.network-ranges { border-bottom: 1px solid var(--line); }
.network-ranges a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.network-ranges a[aria-current] { color: var(--gold); border-color: var(--gold); }
#network-range-form .field input { min-width: 170px; }
#network-range-form button { min-height: 41px; }
#network-range-error { flex-basis: 100%; }
@media (max-width: 650px) {
  .hashrate-current { align-items: flex-start; flex-direction: column; gap: 12px; padding-inline: 17px; }
  #hashrate-progress { text-align: left; }
  .hashrate-description, .hashrate-method, .hashrate-error { padding-inline: 17px; }
  .hashrate-current strong { font-size: 23px; }
  .hashrate-inspector { grid-template-columns: 1fr; padding-inline: 17px; }
  #hashrate-svg { min-height: 150px; }
  .hashrate-empty { font-size: 10px; left: 12%; }
  .network-ranges, #network-range-form { padding-inline: 17px; }
  .network-ranges { gap: 6px; }
  .network-ranges a { padding: 8px 10px; }
}
.search-tools { padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 11px; min-width: 0; }
.search-tool-actions, .save-search-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search-tool-actions > span, .saved-searches p, .saved-searches summary span { color: var(--muted); font-size: 10px; line-height: 1.8; }
.search-tools button { font-size: 11px; }
.saved-searches { margin-top: 14px; }
.saved-searches summary { cursor: pointer; color: var(--gold); }
.saved-searches summary span { margin-left: 10px; }
.saved-searches p { margin-block: 10px; }
.save-search-row { align-items: flex-end; }
.save-search-row .field { flex: 1; max-width: 340px; min-width: 0; }
.save-search-row input { min-width: 0; width: 100%; }
.saved-search-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; max-width: 600px; }
.saved-search-row a { overflow-wrap: anywhere; }
.saved-search-row button { flex-shrink: 0; }
.tools-status { color: var(--muted); margin-top: 8px; line-height: 1.7; overflow-wrap: anywhere; }
.tools-status:empty { display: none; }
.copy-link-field { display: grid; gap: 6px; margin-top: 12px; color: var(--muted); }
.copy-link-field[hidden] { display: none; }
.copy-link-field input { width: 100%; min-width: 0; font-size: 11px; }
.empty, .loading { padding: 66px 24px; color: var(--muted); text-align: center; line-height: 1.9; font-size: 12px; }
.empty strong { display: block; color: var(--text); font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.account-heading { overflow-wrap: anywhere; font-family: var(--mono); font-size: 16px; margin-top: 10px; line-height: 1.8; }
.account-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 12px; }
.account-timing { margin: 15px 0 25px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.account-timing b { color: var(--text); font-weight: 400; }
.account-timing a { color: var(--gold); margin-left: 10px; }
.signal { display: inline-flex; align-items: center; vertical-align: middle; margin: 2px 4px 2px 0; padding: 3px 7px; border: 1px solid #ffffff15; border-radius: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; text-transform: capitalize; white-space: nowrap; }
.signal.large { color: var(--gold); border-color: #fdb91330; background: #fdb91308; }
.signal.whale, .signal.fresh { color: var(--green); border-color: #7fcb9b30; background: #7fcb9b08; }
.signal.hot { color: var(--red); border-color: #ff939330; background: #ff939308; }
.signal.warm { color: #f6d365; border-color: #f6d36530; background: #f6d36508; }
.signal.cold { color: #9bb3ca; border-color: #9bb3ca30; background: #9bb3ca08; }
.labels-intro { max-width: 760px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.label-kind { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.label-address { font-family: var(--mono); font-size: 11px; }
.search-error { font-size: 12px; color: var(--red); }

dialog { width: calc(100% - 36px); max-width: 740px; max-height: 88dvh; padding: 26px; border: 1px solid #ffffff25; border-radius: 16px; background: var(--panel); color: var(--text); box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #000b; backdrop-filter: blur(3px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon-button { padding: 0 8px; border: 0; background: transparent; font-size: 25px; color: var(--muted); }
.dialog-amount { font-family: var(--mono); font-size: 30px; margin: 24px 0 10px; letter-spacing: -.025em; }
.dialog-amount small { color: var(--muted); font-family: var(--sans); font-size: 12px; }
.dialog-info { font-size: 12px; color: var(--muted); line-height: 1.9; margin-bottom: 24px; }
.record { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12px; }
.record dt { color: var(--muted); }
.record dd { margin: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 11px; line-height: 1.9; }
.record dd a { color: var(--gold); }
details { padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
summary { color: var(--muted); cursor: pointer; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 280px; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 15px; font-size: 11px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--gold); font-size: 12px; }

.page-footer { max-width: 1440px; margin: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 27px 24px 32px; border-top: 1px solid var(--line); }
.footer-identity { display: grid; gap: 12px; }
.footer-brand { font-size: 21px; width: fit-content; }
.footer-identity > span, .footer-notes { color: var(--muted); font-size: 10px; }
.footer-notes { display: grid; gap: 6px; text-align: right; padding-top: 5px; }

.header-utility form { position: relative; }
.global-search-error { position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 40; padding: 10px 13px; border: 1px solid #ff939350; border-radius: 8px; color: var(--red); background: var(--panel); font-size: 11px; line-height: 1.7; box-shadow: 0 8px 24px #0006; }
.search-filters .toolbar { border-bottom: 0; }
.advanced-search { border-top: 1px solid var(--line); }
.advanced-search > summary { padding: 16px 22px; color: var(--gold); cursor: pointer; font-size: 12px; font-weight: 600; }
.advanced-search > summary span { color: var(--muted); font-weight: 400; margin-left: 12px; font-size: 11px; }
.advanced-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 4px 22px 20px; }
.advanced-grid fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 9px; }
.advanced-grid legend { padding: 0 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
.advanced-grid .field { margin-bottom: 13px; }
.advanced-grid .field input, .advanced-grid .field select { min-width: 0; width: 100%; font-size: 11px; }
.advanced-grid .check-field { font-size: 11px; margin-top: 10px; }
.filter-help { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 12px; }
.filter-actions { display: flex; align-items: center; gap: 18px; padding: 0 22px 18px; }
.filter-actions > button { background: var(--gold); color: #18140b; min-height: 41px; }
.filter-actions > button:hover { background: #ffcb4b; color: #18140b; }
.filter-actions a { font-size: 11px; }
.field-error { color: var(--red); font-size: 10px; max-width: 270px; line-height: 1.7; }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--red); }
input:disabled { opacity: .45; }
input[readonly] { color: var(--muted); }
.filter-error, .pagination-error { color: var(--red); background: #ff939308; font-size: 12px; padding: 15px 22px; border-bottom: 1px solid #ff939325; }
.applied-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 18px; }
.applied-filters:empty { padding: 0; }
.filter-chip { font-size: 10px; font-weight: 500; border-radius: 20px; padding: 6px 11px; color: var(--gold); background: #fdb91308; border-color: #fdb91325; }
.filter-chip span { margin-left: 5px; }
.search-window { padding: 12px 22px; border-block: 1px solid var(--line); font-size: 10px; color: var(--muted); }
@media (max-width: 1100px) { .advanced-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .advanced-grid { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; gap: 12px; }
  .advanced-search > summary { padding-inline: 16px; }
  .advanced-search > summary span { display: block; margin: 5px 0 0 16px; }
  .filter-actions, .applied-filters { padding-inline: 16px; }
  .filter-actions > button { flex: 1; }
  .search-window { overflow-wrap: anywhere; }
}

@media (min-width: 1500px) {
  main { padding-top: 38px; }
  .stat-value { font-size: 32px; }
}
@media (max-width: 1150px) {
  .header-resources { display: none; }
  .header-utility { gap: 15px; }
  .watch-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .brand { font-size: 21px; }
  .product-label { font-size: 9px; padding-left: 12px; }
  .network { padding: 8px 9px; font-size: 11px; }
  .header-utility { gap: 12px; }
  .main-navigation { gap: 24px; }
  .connection { font-size: 9px; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-value { font-size: 30px; }
  .two-columns, .lower-columns { grid-template-columns: 1fr; }
  .chart { height: 205px; }
  .page-footer { gap: 24px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 190px; }
  .header-utility { display: grid; grid-template-columns: auto auto 1fr; gap: 13px 10px; padding: 13px 16px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .product-label { font-size: 8px; letter-spacing: .11em; padding-left: 10px; }
  .network { justify-self: end; min-height: 32px; padding: 6px 8px; font-size: 10px; }
  .network .dot { width: 4px; height: 4px; }
  .header-utility form { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .header-utility input { font-size: 11px; }
  .header-navigation { padding-inline: 16px; }
  .main-navigation { gap: 23px; }
  .main-navigation a { font-size: 11px; min-height: 42px; }
  .connection { display: none; }
  main { padding: 26px 16px 30px; }
  h1 { font-size: 28px; }
  h2 { font-size: 16px; }
  .page-heading { margin-bottom: 23px; }
  .page-heading .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .page-heading p { font-size: 12px; }
  .heading-meta { display: none; }
  .notice, .demo-banner { padding: 10px 16px; font-size: 10px; }
  .replay { flex-wrap: wrap; gap: 11px; padding: 15px; }
  .replay-icon { width: 29px; height: 29px; }
  .replay-title { font-size: 11px; }
  .replay-description { font-size: 10px; }
  .replay-progress { width: 100%; margin-left: 40px; }
  .replay-progress > div { font-size: 9px; }
  .stats { gap: 12px; }
  .stat { padding: 16px 14px 15px; }
  .stat-top { font-size: 10px; gap: 5px; }
  .stat-mark { width: 16px; height: 16px; }
  .stat-value { font-size: clamp(17px,4.7vw,27px); margin: 17px 0 12px; min-height: 48px; align-content: flex-start; column-gap: 5px; }
  .stat-number { white-space: nowrap; }
  .stat-value small { font-size: 9px; }
  .stat-note { display: block; font-size: 9px; }
  .watch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .watch-heading > span { max-width: 145px; text-align: right; font-size: 9px; }
  .watch-card { padding: 14px; }
  .watch-card > span { font-size: 10px; }
  .watch-card strong { font-size: 24px; }
  .watch-card small { font-size: 9px; }
  .two-columns, .lower-columns { gap: 18px; }
  .panel-header { padding: 20px 17px 0; gap: 12px; }
  .panel-header p { font-size: 10px; }
  .panel-header > a { font-size: 10px; }
  .pill { font-size: 9px; }
  .table-title { padding-bottom: 17px; }
  .chart-wrap { padding-inline: 17px; }
  .chart { height: 160px; }
  .chart-foot { padding-inline: 17px; font-size: 8px; }
  .categories { padding-inline: 17px; }
  .category-line { font-size: 10px; }
  .category-line .mono { font-size: 9px; }
  .category-note { padding-inline: 17px; }
  th, td { padding-inline: 17px; }
  .table-footer { padding: 14px 17px; flex-wrap: wrap; font-size: 9px; }
  .toolbar { padding: 17px; gap: 12px; }
  .field, .check-field { width: 100%; }
  .field input, .field select { width: 100%; min-width: 0; }
  .field.block input { width: 100%; }
  .toolbar button[type='submit'] { width: 100%; }
  .top-accounts, .method { padding-inline: 17px; }
  .top-account { font-size: 11px; }
  .account-heading { font-size: 13px; }
  .account-timing { font-size: 10px; }
  .account-timing a { display: inline-block; margin-left: 0; }
  .labels-intro { font-size: 12px; }
  .label-address { font-size: 10px; }
  .record { grid-template-columns: 75px minmax(0,1fr); gap: 9px; }
  .dialog-amount { font-size: 25px; }
  .page-footer { padding-inline: 16px; flex-direction: column; gap: 18px; }
  .footer-notes { text-align: left; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.hashrate-legend{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin:0 0 1rem;color:var(--muted);font-size:.75rem}.hashrate-legend span{display:inline-flex;align-items:center;gap:.4rem}.hashrate-legend i{width:1rem;height:.2rem;display:inline-block}
.mining-era-0{background:#b5bbc4}.mining-era-1{background:#f6d365}.mining-era-2{background:#efab61}.mining-era-3{background:#d898e8}.mining-era-4{background:#80cbe2}.mining-era-5{background:#99c17c}.mining-era-6{background:#f39898}.mining-era-7{background:#97a6ee}.mining-era-8{background:#fdb913}
.hashrate-data-pages { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 23px 18px; }
.hashrate-data-pages p { color:var(--muted);font-family:var(--mono);font-size:11px;text-align:center; }
.hashrate-data-pages button { flex-shrink:0; }
.pow-history { margin-block:24px; }
.pow-history .eyebrow { display:block;margin-bottom:10px;color:var(--gold); }
.pow-history .panel-header p { max-width:820px; }
.pow-flow { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 36px;list-style:none;margin:0;padding:28px 23px 34px; }
.pow-stage { --era-color:#b5bbc4;position:relative;min-width:0;padding:20px;background:var(--bg);border:1px solid var(--line);border-top:3px solid var(--era-color);border-radius:10px; }
.pow-stage[data-era="1"]{--era-color:#f6d365}.pow-stage[data-era="2"]{--era-color:#efab61}.pow-stage[data-era="3"]{--era-color:#d898e8}.pow-stage[data-era="4"]{--era-color:#80cbe2}.pow-stage[data-era="5"]{--era-color:#99c17c}.pow-stage[data-era="6"]{--era-color:#f39898}.pow-stage[data-era="7"]{--era-color:#97a6ee}.pow-stage[data-era="8"]{--era-color:#fdb913}
.pow-stage:nth-child(1){grid-area:1/1}.pow-stage:nth-child(2){grid-area:1/2}.pow-stage:nth-child(3){grid-area:1/3}
.pow-stage:nth-child(4){grid-area:2/3}.pow-stage:nth-child(5){grid-area:2/2}.pow-stage:nth-child(6){grid-area:2/1}
.pow-stage:nth-child(7){grid-area:3/1}.pow-stage:nth-child(8){grid-area:3/2}.pow-stage:nth-child(9){grid-area:3/3}
.pow-stage:not(:last-child)::after { content:'';position:absolute;width:14px;height:14px;border-top:2px solid #777d89;border-right:2px solid #777d89;top:calc(50% - 7px);right:-24px;transform:rotate(45deg); }
.pow-stage:nth-child(3)::after,.pow-stage:nth-child(6)::after { top:auto;bottom:-28px;right:calc(50% - 7px);transform:rotate(135deg); }
.pow-stage:nth-child(4)::after,.pow-stage:nth-child(5)::after { right:auto;left:-24px;transform:rotate(-135deg); }
.pow-stage-top { display:flex;align-items:flex-start;gap:12px; }
.pow-stage-number { display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border:1px solid var(--era-color);border-radius:50%;color:var(--era-color);font:12px var(--mono); }
.pow-stage-name { display:block;margin-bottom:6px;color:var(--era-color);font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase; }
.pow-stage h3 { font-size:16px;line-height:1.4;letter-spacing:-.02em; }
.pow-stage-date { display:flex;flex-wrap:wrap;gap:3px 12px;margin:15px 0;color:var(--muted);font-family:var(--mono);font-size:10px; }
.pow-stage-change,.pow-stage-impact { font-size:12px;line-height:1.8; }
.pow-stage-impact { margin-top:15px;color:var(--muted); }
.pow-stage-impact strong { display:block;color:var(--text);font-size:10px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px; }
.pow-stage-rule { margin-top:18px;border-top:1px solid var(--line);padding-top:12px;font-size:11px; }
.pow-stage-rule summary { width:fit-content;cursor:pointer;color:var(--era-color); }
.pow-stage-rule > div { padding-top:12px; }
.pow-stage-rule code { display:block;overflow-wrap:anywhere;white-space:normal;color:var(--text);font-family:var(--mono);line-height:1.8; }
.pow-stage-rule p { margin-top:9px;color:var(--muted);font-size:11px; }
.pow-stage-rule a { display:inline-block;margin-top:10px;color:var(--era-color); }
.pow-chart-note { margin:0 23px 20px;padding:17px 20px;border-left:2px solid var(--gold);background:var(--bg);border-radius:0 8px 8px 0;font-size:12px; }
.pow-chart-note p { margin-top:5px;color:var(--muted); }
.pow-sources { border-top:1px solid var(--line);padding:18px 23px;font-size:12px; }
.pow-sources summary { width:fit-content;color:var(--gold);cursor:pointer; }
.pow-sources > div { padding-top:12px;color:var(--muted);max-width:950px; }
.pow-sources nav { display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:15px;color:var(--text); }
@media(max-width:1023px) {
  .pow-flow { grid-template-columns:minmax(0,1fr);gap:36px; }
  .pow-stage:nth-child(n) { grid-area:auto; }
  .pow-stage:not(:last-child)::after { top:auto;bottom:-24px;left:calc(50% - 7px);right:auto;transform:rotate(135deg); }
}
@media(max-width:600px) {
  .pow-flow { padding:24px 17px 30px; }
  .pow-stage { padding:17px; }
  .pow-chart-note { margin-inline:17px;padding:15px; }
  .pow-sources { padding-inline:17px; }
  .hashrate-data-pages { gap:10px;padding-inline:17px;flex-wrap:wrap; }
  .hashrate-data-pages p { flex:1 0 100%;order:3;text-align:center; }
  .hashrate-data-pages button:last-child { margin-left:auto; }
}
