/* Institutional explorer preview: a consistent information hierarchy across routes. */
:root {
  --bg: #ecefeb;
  --surface: #fff;
  --surface-2: #f3f5f3;
  --surface-3: #e7ebe8;
  --border: #d3d9d6;
  --border-strong: #aebbb8;
  --text: #17232a;
  --muted: #5c6c71;
  --muted-2: #7f8d90;
  --green: #772d40;
  --green-soft: rgba(119,45,64,.075);
  --link: #2e617b;
  --blue: #456e85;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 3px;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
}

html { min-width: 0; background: var(--bg); }
body { background: var(--bg); color: var(--text); }
::selection { background: #762c40; color: #fff; }
.shell { width: min(1540px, calc(100% - 56px)); }

/* Masthead and navigation read as a single terminal frame. */
.site-header {
  border-bottom: 1px solid #0e1920;
  background: #17262e;
  box-shadow: none;
  backdrop-filter: none;
}
.terminal-ribbon {
  height: 26px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #0d1920;
}
.terminal-ribbon-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #a4b6b7;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .09em;
  white-space: nowrap;
}
.terminal-ribbon-inner > span:first-child { color: #d7e3df; }
.terminal-ribbon-inner i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  background: #bc8190;
}
.terminal-ribbon-inner b { margin: 0 8px; color: #70868b; font-weight: 400; }
.terminal-ribbon-right { display: flex; align-items: center; gap: 16px; }
.ribbon-identity { display: inline-flex; align-items: center; letter-spacing: .025em; }
.ribbon-identity > span { text-transform: none; }
.ribbon-block {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 8px;
  padding: 0 11px 0 13px;
  border-left: 2px solid #c7788e;
  color: #e3bfc8;
  background: #39232e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 710;
  letter-spacing: .055em;
  text-decoration: none;
  transition: background .2s ease,color .2s ease;
}
.ribbon-block strong {
  display: inline-block;
  min-width: 8ch;
  height: 1.2em;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: right;
}
.ribbon-number-track { display: block; transition: transform var(--ribbon-step-duration, 360ms) cubic-bezier(.22,.7,.28,1); }
.ribbon-number-track > span { display: block; height: 1.2em; }
.ribbon-block strong.is-counting .ribbon-number-track { transform: translateY(-50%); }
.ribbon-block > span:last-child { color: #d7a6b3; font-size: 11px; }
.ribbon-block .network-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 3px 0 0; padding: 0 11px 0 0; border: 0; border-right: 1px solid rgba(255,255,255,.16); border-radius: 0; color: #d6e6df; background: transparent; font-size: 9px; }
.ribbon-block .network-pill span { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #d3b477; box-shadow: 0 0 0 3px rgba(211,180,119,.12); }
.ribbon-block .network-pill.ready span { background: #76c7a5; box-shadow: 0 0 0 3px rgba(118,199,165,.12); }
.ribbon-block .network-pill.offline span { background: #e78c91; box-shadow: 0 0 0 3px rgba(231,140,145,.12); }
.ribbon-block .network-pill strong { display: inline; min-width: 0; height: auto; overflow: visible; color: inherit; font-family: var(--mono); font-size: 9px; font-weight: 620; letter-spacing: 0; line-height: 1; text-align: left; white-space: nowrap; }
.ribbon-block:hover,.ribbon-block:focus-visible { color: #fff; background: #6c3043; }
.ribbon-block:focus-visible { outline: 2px solid #e5aabb; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .ribbon-number-track { transition: none; }
}
.header-inner { height: 62px; gap: 16px; }
.brand { gap: 9px; border-radius: 0; }
.brand-logo { width: 32px; height: 32px; flex-basis: 32px; filter: none; }
.brand:hover .brand-logo { filter: none; transform: none; }
.brand-copy { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.05; }
.brand-copy strong { color: #f4f7f5; font-size: 14px; font-weight: 730; letter-spacing: -.025em; }
.brand-copy small { margin-top: 3px; color: #8fa2a7; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.main-nav { gap: 0; margin-left: 18px; }
.main-nav a {
  margin: 0;
  padding: 0 13px;
  border-right: 1px solid rgba(255,255,255,.055);
  border-radius: 0;
  color: #aebfc0;
  font-size: 11px;
  font-weight: 660;
  letter-spacing: .01em;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.active { color: #fff; background: #263b43; }
.main-nav a.active::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 0;
  background: #c38592;
}
.header-search { min-width: 195px; max-width: 355px; }
.chain-search {
  height: 34px;
  border-color: #52646b;
  border-radius: 2px;
  background: #24343c;
  box-shadow: none;
}
.chain-search:focus-within { border-color: #c6abb0; box-shadow: 0 0 0 2px rgba(210,174,184,.14); }
.chain-search input { color: #f4f7f4; font-size: 10px; }
.chain-search input::placeholder { color: #99aaac; }
.chain-search button {
  padding: 0 13px;
  border-left-color: #52646b;
  color: #eff4f1;
  background: #455c65;
  font-size: 10px;
}
.chain-search button:hover { background: #5c747c; box-shadow: none; }
.network-pill,
.network-pill.ready {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #c1d1cc;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
}
.network-pill.ready span { background: #72ba9d; box-shadow: 0 0 0 3px rgba(114,186,157,.11); }
.language-switcher { position: relative; z-index: 60; flex: none; }
.language-trigger { display: inline-flex; height: 34px; min-width: 78px; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border: 1px solid #4a6069; border-radius: 2px; color: #d4e0dd; background: #223640; font-family: var(--mono); font-size: 10px; font-weight: 720; letter-spacing: .04em; cursor: pointer; transition: border-color .18s ease,background .18s ease,color .18s ease; }
.language-trigger:hover,.language-switcher.is-open .language-trigger { border-color: #9a7b86; color: #fff; background: #30434c; }
.language-trigger:focus-visible,.language-option:focus-visible { outline: 2px solid #d9a5b4; outline-offset: 2px; }
.language-trigger svg:first-child { width: 15px; height: 15px; flex: none; }
.language-trigger .language-chevron { width: 11px; height: 11px; flex: none; color: #a8bbbd; transition: transform .2s ease; }
.language-switcher.is-open .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 80; width: 302px; overflow: hidden; border: 1px solid #50636b; border-radius: 4px; color: #e8efec; background: #14252e; box-shadow: 0 20px 46px rgba(4,13,18,.32); animation: language-menu-enter .18s cubic-bezier(.22,.8,.3,1) both; }
.language-menu[hidden] { display: none; }
.language-menu-head { display: flex; height: 40px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
.language-menu-head strong { font-size: 10px; font-weight: 740; letter-spacing: .07em; }
.language-menu-head span { color: #8ca1a5; font-family: var(--mono); font-size: 9px; }
.language-search { display: flex; height: 35px; align-items: center; gap: 8px; margin: 11px 12px 9px; padding: 0 10px; border: 1px solid #465d65; border-radius: 2px; background: #1d323b; }
.language-search:focus-within { border-color: #8fa7ac; box-shadow: 0 0 0 1px rgba(143,167,172,.15); }
.language-search svg { width: 14px; height: 14px; flex: none; color: #90a7ab; }
.language-search input,.language-search input:focus-visible { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; appearance: none; box-shadow: none; color: #f3f7f5; background: transparent; font-size: 10px; }
.language-search input::placeholder { color: #9db0b1; }
.language-options { display: grid; gap: 2px; max-height: min(390px, calc(100vh - 160px)); overflow-y: auto; padding: 0 7px 7px; scrollbar-color: #536b73 transparent; scrollbar-width: thin; }
.language-option[hidden] { display: none; }
.language-option { display: grid; width: 100%; min-height: 40px; grid-template-columns: minmax(0,1fr) auto 14px; align-items: center; gap: 9px; padding: 5px 9px; border: 0; border-left: 2px solid transparent; border-radius: 2px; color: #e2ece9; background: transparent; text-align: left; cursor: pointer; transition: background .16s ease,color .16s ease; }
.language-option:hover,.language-option:focus-visible { color: #fff; background: #29414b; }
.language-option.is-selected { border-left-color: #cd8e9f; color: #fff; background: #34424a; }
.language-native { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.language-option small { color: #98acaf; font-size: 9px; }
.language-check { visibility: hidden; color: #e5adbd; font-size: 12px; }
.language-option.is-selected .language-check { visibility: visible; }
@keyframes language-menu-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .language-menu { animation: none; } .language-trigger,.language-trigger .language-chevron,.language-option { transition: none; } }
.mobile-menu { border-color: #51636a; border-radius: 2px; color: #e9efeb; background: #263942; box-shadow: none; }
.search-feedback { border-radius: 2px; box-shadow: 0 12px 25px rgba(5,15,20,.18); }

/* Page headings are compact report titles, not landing-page heroes. */
.site-main { padding-top: 27px; padding-bottom: 42px; }
.page-heading {
  align-items: center;
  min-height: 75px;
  gap: 24px;
  margin-bottom: 16px;
  padding: 0 0 15px 15px;
  border-bottom: 1px solid var(--border-strong);
  border-left: 3px solid var(--green);
}
.page-heading h1 {
  margin-top: 5px;
  font-size: clamp(24px,2.2vw,30px);
  font-weight: 710;
  letter-spacing: -.045em;
}
.page-heading p { max-width: 780px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.eyebrow { color: #8b4656; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-shadow: none; }
.height-chip { min-width: 160px; padding: 5px 0 5px 18px; border-left-color: var(--border-strong); }
.height-chip span { font-family: var(--mono); font-size: 9px; }
.height-chip strong { font-size: 20px; }

/* Panels and data tables share a quiet, precise frame. */
.panel,
.panel:hover {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: none;
}
.panel-head {
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 0;
  border-bottom-color: var(--border);
  background: #fff;
}
.panel-head h2 { margin-top: 4px; font-size: 17px; font-weight: 690; letter-spacing: -.03em; }
.text-link {
  min-height: 0;
  padding: 0 0 3px;
  border-bottom: 1px solid #abc0c6;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 640;
}
.text-link:hover { border-color: var(--link); color: var(--link); background: transparent; }
.table-meta { padding: 0; border-radius: 0; background: transparent; font-family: var(--mono); font-size: 10px; }
.table-wrap { scrollbar-color: #bdc9c5 transparent; }
th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-strong);
  color: #5b6d71;
  background: #edf1ee;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 710;
  letter-spacing: .07em;
}
td {
  height: 52px;
  padding: 10px 14px;
  border-bottom-color: #e3e8e5;
  color: #27343a;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
tbody tr:nth-child(even) td { background: #fafbf9; }
tbody tr:hover td { background: #f0f4f1; }
tbody tr:hover td:first-child { box-shadow: inset 2px 0 #8c4053; }
.table-skeleton-row td { height: 52px; }
.hash-link, .address-link { color: var(--link); }
.address-with-copy, .detail-address-line { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
.detail-address-line { display: flex; align-items: flex-start; }
.detail-address-line .detail-hash { margin: 5px 0 0; }
.copy-address {
  display: inline-grid;
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: #77888d;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  transition: color .18s ease, background .18s ease;
}
.copy-address:hover { color: #2e617b; background: #edf2f1; }
.copy-address:focus-visible { outline: 2px solid #55849a; outline-offset: 2px; }
.copy-address.is-copied { color: #2e806c; }
.copy-address.is-copy-error { color: #ad4655; }
.copy-address svg {
  position: absolute;
  width: 19px;
  height: 19px;
  transition: opacity .2s ease, transform .27s cubic-bezier(.2,.75,.25,1);
}
.copy-address .check-icon { opacity: 0; transform: translateY(5px) scale(.76); }
.copy-address.is-copied .copy-icon { opacity: 0; transform: translateY(-5px) scale(.76); }
.copy-address.is-copied .check-icon { opacity: 1; transform: translateY(0) scale(1); }
.detail-address-line .copy-address { margin-top: 1px; }
@media (prefers-reduced-motion: reduce) {
  .copy-address, .copy-address svg { transition: none; }
}
.address-link.alias-link {
  padding: 3px 6px;
  border-color: #d1dad7;
  border-radius: 2px;
  background: #f4f7f4;
  box-shadow: none;
  font-size: 11px;
}
.type-label, .status-label {
  min-height: 20px;
  padding: 0 6px;
  border-radius: 2px;
  font-size: 9px;
}
.pagination { min-height: 50px; padding: 9px 14px; background: #fafbf9; }
.pagination button { border-radius: 2px; box-shadow: none; }
.pagination button.active { box-shadow: none; }

/* The market strip and block metrics become a joined quote board. */
.market-overview { margin-bottom: 14px; }
.market-overview-head {
  min-height: 40px;
  padding: 0 16px;
  border-bottom-color: #253740;
  background: #1d3038;
}
.market-overview-head h2 { color: #fff; font-size: 12px; font-weight: 690; letter-spacing: .08em; text-transform: uppercase; }
.market-freshness { color: #aec1bd; font-family: var(--mono); font-size: 9px; }
.market-freshness i { width: 5px; height: 5px; flex-basis: 5px; box-shadow: none; }
.market-metric { min-height: 96px; padding: 13px 18px; }
.market-metric:hover { background: #f7f9f6; }
.market-metric > span, .market-price-copy > span { color: #62747a; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.market-metric strong { min-height: 30px; margin-top: 7px; font-size: clamp(20px,1.9vw,27px); font-weight: 660; }
.market-metric small { min-height: 15px; margin-top: 2px; font-size: 10px; }
.market-price-card { padding: 13px 18px; }
.market-price-visual { height: 62px; }
.mining-overview { grid-template-columns: 290px minmax(0,1fr); gap: 14px; }
.metric-stack { padding: 0 17px; border-color: #172a32; color: #fff; background: #1c3038; }
.metric-stack:hover { border-color: #172a32; background: #1c3038; }
.stack-metric { min-height: 70px; padding: 13px 1px; border-bottom-color: rgba(255,255,255,.14); }
.stack-metric.primary { min-height: 93px; }
.stack-metric > span { margin-bottom: 7px; color: #9fb5b5; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.stack-metric > span small, .stack-metric > .rate-reference { color: #829b9e; }
.stack-metric strong { color: #f2f5f2; font-family: var(--mono); font-size: 22px; font-weight: 620; }
.stack-metric.primary strong { font-size: 26px; }
.stack-metric em { color: #80c6a2; }
.stack-metric em.negative { color: #ea8b96; }
.metric-stack.metrics-revealing .stack-metric strong,
.metric-stack.metrics-revealing .stack-metric em,
.metric-stack.metrics-revealing .stack-metric > .rate-reference {
  animation: home-metric-arrive .58s cubic-bezier(.2,.75,.25,1) both;
}
.metric-stack.metrics-revealing .stack-metric:nth-child(2) strong { animation-delay: .06s; }
.metric-stack.metrics-revealing .stack-metric:nth-child(3) strong { animation-delay: .12s; }
.metric-stack.metrics-revealing .stack-metric:nth-child(4) strong { animation-delay: .18s; }
.metric-stack.metrics-revealing .stack-metric:nth-child(5) strong { animation-delay: .24s; }
@keyframes home-metric-arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 841px) {
  .mining-overview .metric-stack { display: grid; grid-template-rows: minmax(100px,1.25fr) repeat(4,minmax(70px,1fr)); }
  .mining-overview .stack-metric { display: flex; flex-direction: column; justify-content: center; }
}
.chart-head { min-height: 58px; }
.chart-legend { padding: 1px 18px 10px; font-size: 10px; }
.chart-wrap { height: 370px; }
.range-tabs, .filter-tabs, .difficulty-view { border-radius: 2px; box-shadow: none; }
.range-tabs button.active, .filter-tabs button.active, .difficulty-view button.active { color: #742c40; background: #f0e9ea; box-shadow: inset 0 -2px #8b4557; }
.chart-tooltip { border-radius: 2px; box-shadow: 0 12px 25px rgba(18,29,32,.14); }

.summary-grid { gap: 0; margin-top: 14px; border: 1px solid var(--border); background: #fff; }
.summary-card, .summary-card:hover {
  min-height: 93px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.summary-card:last-child { border-right: 0; }
.summary-card:hover { background: #f6f8f5; }
.summary-card::after { display: none; }
.summary-card > span { color: #617276; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.summary-card strong, .summary-card > a { margin-top: 9px; font-family: var(--mono); font-size: 19px; }
.summary-card small { margin-top: 4px; font-size: 10px; }
.summary-card-link:hover { border-color: var(--border); box-shadow: none; transform: none; }
.dual-grid { gap: 14px; margin-top: 14px; }

/* Other routes use the same report vocabulary. */
.proof-summary-grid, .pool-summary-grid { gap: 0; border: 1px solid var(--border); background: #fff; }
.proof-summary-grid .summary-card, .pool-summary-grid .summary-card { border-top: 0; }
.detail-grid { border-radius: 2px; box-shadow: none; }
.fact-card { padding: 15px 17px; }
.fact-card:hover { background: #f7f9f6; }
.fact-card span { color: #68797c; font-family: var(--mono); font-size: 9px; }
.fact-card strong { font-family: var(--mono); }
.address-summary { gap: 1px; border: 1px solid var(--border); background: var(--border); }
.address-summary .fact-card { border: 0; border-radius: 0; box-shadow: none; }
.holder-insight { border-radius: 2px; background: #fff; }
.miner-summary-strip, .mempool-kpis { border-radius: 2px; box-shadow: none; }
.pool-summary-grid, .proof-summary-grid { margin-bottom: 14px; }

/* Page-level report details. */
.sync-banner {
  position: fixed;
  border-top: 0;
  border-bottom: 1px solid #dcccae;
  background: #f8f3e7;
  box-shadow: none;
}
.sync-banner-inner { min-height: 49px; padding-block: 7px; }
.sync-icon { border-color: #c8ad77; color: #805d25; }
.sync-banner strong { color: #65502e; }
.sync-banner p, .sync-heights { color: #756b58; }

body[data-page="blocks"] .block-miner-panel,
body[data-page="pool"] .pool-share-panel,
body[data-page="holders"] .distribution-panel,
body[data-page="transfers"] .pending-panel {
  border-top: 2px solid #344b53;
}
.miner-distribution-body { padding: 15px 18px 18px; }
.miner-summary-strip { background: #f5f7f4; }
.miner-summary-strip > div { padding: 11px 14px; }
.miner-share-chart-wrap { margin: 10px 0 8px; }
.miner-card-grid { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 8px; }
.miner-card, .miner-card:hover {
  padding: 11px 12px;
  border-color: var(--border);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.miner-card:hover { border-color: #90a9aa; background: #f7f9f7; }
.miner-card-top strong { font-size: 12px; }
.miner-rank { font-size: 10px; }
.proof-badge { border-radius: 2px; }
.blocks-table th:nth-child(n+5):nth-child(-n+9),
.blocks-table td:nth-child(n+5):nth-child(-n+9) { text-align: right; }

.pool-method-note {
  padding: 9px 18px 11px;
  border-top: 1px solid var(--border);
  color: #65767a;
  background: #f7f9f6;
  font-size: 10px;
}
.pool-table th:nth-child(n+3):nth-child(-n+6),
.pool-table td:nth-child(n+3):nth-child(-n+6) { text-align: right; }
.pool-share-value { font-size: 12px; font-weight: 700; }

body[data-page="transfers"] .pending-panel { overflow: hidden; }
body[data-page="transfers"] .pending-panel .panel-head {
  min-height: 54px;
  border-bottom: 1px solid #344b54;
  background: #182a33;
}
body[data-page="transfers"] .pending-panel .panel-head h2 { color: #f5f7f6; font-size: 16px; }
body[data-page="transfers"] .pending-panel .panel-head .eyebrow { color: #c696a3; }
.mempool-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a5b8ba;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.mempool-source i { width: 6px; height: 6px; background: #82b9ad; box-shadow: 0 0 0 3px rgba(130,185,173,.12); }
.mempool-kpis {
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 0;
  border-bottom: 1px solid #344b54;
  border-radius: 0;
  background: #20353e;
  box-shadow: none;
}
.mempool-kpis > div { min-width: 0; padding: 12px 18px 13px; border-right: 1px solid #3b515a; }
.mempool-kpis span { color: #9eb4b8; font-family: var(--mono); font-size: 9px; letter-spacing: .085em; }
.mempool-kpis strong { margin-top: 4px; color: #f3f6f4; font-size: 18px; font-weight: 650; line-height: 1.25; }
.mempool-kpis > div:first-child strong { color: #e9c1cb; }
.mempool-layout { min-height: 0; grid-template-columns: minmax(0,1.6fr) minmax(290px,.9fr); }
.mempool-map-pane { overflow: hidden; padding: 12px 16px 10px; background: #f7f9f8; }
.mempool-map-heading { display: flex; min-height: 34px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mempool-map-heading .eyebrow { display: block; color: #8b4656; font-size: 9px; }
.mempool-map-heading strong { display: block; margin-top: 3px; color: #25353d; font-size: 11px; font-weight: 650; }
.mempool-map-index { color: #85959a; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.mempool-map-wrap { height: 240px; border: 1px solid #233842; border-radius: 0; background: #182931; box-shadow: none; }
.mempool-map-wrap > #mempool-map { border-radius: 0; }
.mempool-map-empty { color: #cad8d8; text-align: center; }
.mempool-map-legend { min-height: 27px; gap: 8px; color: #6d7f84; font-family: var(--mono); font-size: 8px; font-weight: 660; letter-spacing: .04em; }
.mempool-map-legend i { width: 86px; height: 4px; flex-shrink: 0; border-radius: 0; background: linear-gradient(90deg,#2c404b,#3f5b67 42%,#84616c 72%,#bb687d); box-shadow: none; }
.mempool-map-legend small { color: #7b8c90; font-size: 9px; letter-spacing: 0; }
.mempool-feed-pane { max-height: 324px; }
.mempool-feed-head { min-height: 53px; padding: 10px 14px; background: #f4f6f5; }
.mempool-feed-head h3 { margin-top: 3px; font-size: 13px; }
.mempool-feed-head > span { color: #839198; font-size: 8px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.pending-item { min-height: 47px; align-items: center; gap: 7px; padding: 8px 13px; border-bottom-color: #e1e7e5; }
.pending-item:hover { background: #f2f6f6; box-shadow: inset 2px 0 #8ba6b0; }
.pending-item.is-linked { background: #e9f0f2; box-shadow: inset 3px 0 #597d8c; }
.pending-main a { color: #355b71; font-size: 10px; }
.pending-main small { margin-top: 4px; color: #819095; font-family: var(--mono); font-size: 9px; }
.pending-main small span { margin: 0 3px; color: #b1bcbd; }
.pending-stats strong { color: #26363e; font-size: 11px; }
.pending-stats span { margin-top: 4px; color: #8c9b9d; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.mempool-tooltip { border-color: #637c87; border-radius: 2px; color: #e9f0f0; background: #152832; box-shadow: 0 12px 22px rgba(10,26,34,.2); }
.mempool-tooltip strong { color: #f5f8f7; }
.mempool-tooltip span { color: #bdcdd0; }
.mempool-tooltip span b { color: #f1f5f4; }
.mempool-tooltip small { border-top-color: #536974; color: #a9bdc1; }
.mempool-tooltip .rate-dot { background: #c78b9a; }
.mempool-tooltip .difficulty-dot { background: #89afbb; }
body[data-page="transfers"] .data-panel th:nth-child(5),
body[data-page="transfers"] .data-panel td:nth-child(5),
body[data-page="transfers"] .data-panel th:nth-child(6),
body[data-page="transfers"] .data-panel td:nth-child(6) { text-align: right; }

.holders-overview { gap: 14px; margin-bottom: 14px; }
.distribution-body { min-height: 320px; gap: 17px; padding: 20px; }
.holder-legend { gap: 9px 14px; }
.holder-insight, .holder-insight:hover {
  padding: 23px;
  border-color: #192d35;
  color: #f4f6f3;
  background: #1c3038;
}
.holder-insight .eyebrow { color: #c999a4; }
.holder-insight h2 { margin: 9px 0 10px; color: #fff; font-size: 20px; }
.holder-concentration {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 11px;
  margin: 12px 0 16px;
  padding: 15px 0 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.holder-concentration strong { color: #f8f8f3; font-family: var(--mono); font-size: 32px; font-weight: 650; letter-spacing: -.05em; }
.holder-concentration span { color: #9db4b5; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.holder-insight > p { margin-bottom: 15px; color: #b1c1c0; font-size: 11px; line-height: 1.6; }
.holder-insight > div { border-top-color: rgba(255,255,255,.14); }
.holder-insight > div span { color: #99aeb0; font-family: var(--mono); font-size: 9px; }
.holder-insight > div strong { color: #f1f5f2; font-family: var(--mono); font-size: 11px; }
.holders-table th:nth-child(3), .holders-table td:nth-child(3),
.holders-table th:nth-child(4), .holders-table td:nth-child(4),
.holders-table th:nth-child(6), .holders-table td:nth-child(6),
.holders-table th:nth-child(7), .holders-table td:nth-child(7) { text-align: right; }

.back-link {
  margin-bottom: 12px;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  color: #53686c;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
}
.back-link:hover { border-color: var(--link); color: var(--link); background: transparent; }
.detail-heading { min-height: 76px; }
.detail-hash { color: #54686c !important; font-size: 12px !important; }
.status-badge {
  padding: 6px 8px;
  border-radius: 2px;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 710;
}
.proof-detail-panel { border-top-color: #3c6170; }
.proof-detail-panel.is-loading { min-height: 205px; }
.proof-detail-hero { padding: 17px 21px; }
.proof-detail-panel.is-loading #block-proof-version,
.proof-detail-panel.is-loading #block-proof-multiplier,
.proof-detail-panel.is-loading #block-proof-explanation,
.proof-detail-panel.is-loading #block-proof-near-pin {
  display: block;
  width: 112px;
  height: 21px;
  border: 0;
  border-radius: 2px;
  color: transparent;
  font-size: 0;
  background: linear-gradient(90deg,#e1e6e4 25%,#f4f7f5 45%,#e1e6e4 65%);
  background-size: 240% 100%;
  animation: tx-skeleton 1.25s ease-in-out infinite;
}
.proof-detail-panel.is-loading #block-proof-version { width: 39px; height: 24px; }
.proof-detail-panel.is-loading #block-proof-multiplier { width: 136px; height: 35px; }
.proof-detail-panel.is-loading #block-proof-explanation { width: min(75%,360px); height: 12px; }
.proof-detail-panel.is-loading #block-proof-near-pin { width: 55px; height: 23px; margin-top: 6px; }
.proof-detail-panel.is-loading #block-proof-near-pin-bar { width: 0 !important; }
.proof-detail-panel.is-loading #block-proof-components .skeleton-fact { min-height: 69px; }
.proof-component-grid article { padding: 13px 18px; background: #f9faf8; }
.detail-grid { min-height: 0; gap: 1px; margin-bottom: 14px; }
.fact-card { padding: 14px 16px; }
.fact-card strong { font-size: 14px; }
.address-summary { margin-bottom: 14px; }
.address-summary .fact-card { padding: 14px 16px; }
.address-scope-note {
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 13px;
  border-color: #d5deda;
  border-left: 3px solid #5d8190;
  border-radius: 0;
  background: #f6f8f5;
}
.address-scope-note > span { border-radius: 2px; }
.address-scope-note p { color: #596b6f; font-size: 11px; }
.address-balance-panel { margin-bottom: 14px; box-shadow: none; }
.address-balance-head { min-height: 66px; background: #fff; }
.address-balance-summary {
  min-width: 210px;
  padding: 7px 10px;
  border-color: var(--border);
  border-radius: 2px;
  background: #f5f7f4;
}
.address-balance-summary strong { margin-top: 4px; font-size: 16px; }
.address-chart-meta { min-height: 42px; padding: 6px 16px; background: #f4f6f3; }
.address-chart-meta span { min-height: 24px; padding: 4px 7px; border-radius: 2px; background: #fff; }
.address-balance-chart-wrap { background: #fff; }
.address-history-table td { height: 68px; }
.io-grid { gap: 14px; }
.tx-io-skeleton > .panel { min-height: 0; }
.io-row { min-height: 61px; padding: 10px 14px; }

/* Analytics keeps its functional charts and alert controls while following
   the same panel geometry and typography as the explorer. */
body[data-page="analytics"] .analytics-hero,
body[data-page="analytics"] .analytics-signal-strip,
body[data-page="analytics"] .analytics-studio,
body[data-page="analytics"] .analytics-card,
body[data-page="analytics"] .analytics-linked-charts,
body[data-page="analytics"] .mining-history-chart-wrap,
body[data-page="analytics"] .analytics-methodology {
  border-radius: 3px;
}
body[data-page="analytics"] { background: var(--bg); }
body[data-page="analytics"] .site-main {
  width: min(1540px,calc(100% - 56px));
  padding-top: 24px;
}
body[data-page="analytics"] .analytics-hero,
body[data-page="analytics"] .analytics-hero[data-market-direction="up"] {
  min-height: 0;
  border-color: #22343c;
  box-shadow: none;
}
body[data-page="analytics"] .analytics-hero {
  background: linear-gradient(105deg,#35232b,#192931 61%,#192931);
}
body[data-page="analytics"] .analytics-hero[data-market-direction="up"] {
  background: linear-gradient(105deg,#1f3b35,#192f32 61%,#192931);
}
body[data-page="analytics"] .analytics-hero-copy { padding: 21px 29px 23px; }
body[data-page="analytics"] .analytics-live-line { color: rgba(255,255,255,.72); font-size: 10px; }
body[data-page="analytics"] .analytics-live-line b { color: rgba(255,255,255,.58); font-size: 9px; }
body[data-page="analytics"] .analytics-price-lockup { margin: 20px 0 16px; }
body[data-page="analytics"] .analytics-price-lockup span { color: rgba(255,255,255,.65); font-size: 10px; }
body[data-page="analytics"] .analytics-price-lockup strong { font-size: clamp(42px,4vw,57px); }
body[data-page="analytics"] .analytics-price-lockup em { border-radius: 2px; font-size: 10px; }
body[data-page="analytics"] .analytics-hero-metrics > div { padding-top: 13px; }
body[data-page="analytics"] .analytics-hero-metrics span { color: rgba(255,255,255,.66); font-size: 9px; }
body[data-page="analytics"] .analytics-hero-metrics strong { font-size: 12px; }
body[data-page="analytics"] .analytics-hero-metrics small { color: rgba(255,255,255,.53); font-size: 9px; }
body[data-page="analytics"] .analytics-signal-strip {
  margin: 0 0 14px;
  border-color: var(--border);
  background: #fff;
  backdrop-filter: none;
}
body[data-page="analytics"] .analytics-signal-strip article { padding: 14px 18px; }
body[data-page="analytics"] .analytics-signal-strip span { color: #627277; font-size: 9px; }
body[data-page="analytics"] .analytics-signal-strip strong { margin-top: 7px; font-size: clamp(18px,1.9vw,25px); }
body[data-page="analytics"] .analytics-signal-strip small { color: #718084; font-size: 9px; }
body[data-page="analytics"] .analytics-studio-head { padding: 20px 24px 15px; }
body[data-page="analytics"] .analytics-card-head { min-height: 88px; padding: 19px 24px 15px; }
body[data-page="analytics"] .analytics-signal-strip,
body[data-page="analytics"] .analytics-studio,
body[data-page="analytics"] .analytics-card,
body[data-page="analytics"] .analytics-methodology { box-shadow: none; }
body[data-page="analytics"] .analytics-card:not(.analytics-supply-card),
body[data-page="analytics"] .analytics-studio { border-color: var(--border); }
body[data-page="analytics"] .analytics-section-title h2,
body[data-page="analytics"] .analytics-card-head h2 { font-size: 21px; }
body[data-page="analytics"] .analytics-alert-control,
body[data-page="analytics"] .analytics-toggle,
body[data-page="analytics"] .analytics-range-tabs,
body[data-page="analytics"] .mining-history-addresses a { border-radius: 3px; box-shadow: none; }
body[data-page="analytics"] .mining-history-inspector { background: #f5f7f4; }

.site-footer { background: #142229; }
.footer-inner { padding-top: 34px; padding-bottom: 29px; }
.footer-brand img { filter: none; }
.footer-brand p { color: #91a4a5; }
.footer-nav > strong { color: #adc0bd; font-family: var(--mono); font-size: 9px; }
.footer-nav a { color: #c3d0cc; font-size: 11px; }
.footer-meta { min-height: 47px; color: #92a9a9; font-size: 9px; }

@media (max-width: 1050px) {
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 35px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .header-inner { gap: 10px; }
  .main-nav { margin-left: 3px; }
  .main-nav a { padding-inline: 9px; }
  .header-search { max-width: 275px; }
}
@media (min-width: 841px) and (max-width: 1240px) {
  .language-trigger { min-width: 35px; gap: 0; padding-inline: 8px; }
  .language-trigger #language-trigger-label,.language-trigger .language-chevron { display: none; }
}
@media (max-width: 1050px) {
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summary-card:nth-child(even) { border-right: 0; }
  .summary-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .proof-summary-grid, .pool-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mining-overview { grid-template-columns: 255px minmax(0,1fr); }
}
@media (max-width: 840px) {
  .shell { width: min(100% - 30px,1540px); }
  .ribbon-identity b,.ribbon-intelligence,.terminal-ribbon-right > span { display: none; }
  .header-inner { height: auto; min-height: 59px; padding-block: 9px; }
  .main-nav { top: calc(100% - 1px); margin: 0; border-color: #52646b; background: #1e3038; box-shadow: 0 16px 30px rgba(8,18,22,.28); }
  .main-nav a { margin: 0; padding: 0 16px; border-color: rgba(255,255,255,.08); color: #c7d5d1; }
  .main-nav a.active { color: #fff; }
  .network-pill { margin-left: auto; }
  .language-menu { right: auto; left: 50%; width: min(302px, calc(100vw - 30px)); translate: -50% 0; }
  .header-search { max-width: none; }
  .metric-stack { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stack-metric { border-right-color: rgba(255,255,255,.14); }
  .mining-overview { grid-template-columns: 1fr; }
  .chart-wrap { height: 340px; }
  body[data-page="analytics"] .site-main { width: min(100% - 30px,1540px); }
}
@media (max-width: 620px) {
  .ribbon-block > span:nth-child(2) { display: none; }
  .ribbon-block .network-pill { margin-right: 0; padding-right: 8px; }
  .site-main { padding-top: 20px; }
  .page-heading { align-items: flex-start; min-height: 0; gap: 10px; padding-left: 11px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 11px; }
  .height-chip { display: flex; width: 100%; min-width: 0; align-items: baseline; justify-content: space-between; padding: 6px 0 0; border-top: 1px solid var(--border); border-left: 0; }
  .height-chip strong { margin-top: 0; font-size: 17px; }
  .market-metric { min-height: 88px; padding: 12px; }
  .market-metric strong { font-size: 18px; }
  .market-freshness { font-size: 8px; white-space: normal; text-align: right; }
  .summary-card { min-height: 85px; padding: 12px; }
  .summary-card strong, .summary-card > a { font-size: 16px; }
  .proof-summary-grid, .pool-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { gap: 25px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .mempool-layout { grid-template-columns: 1fr; }
  .mempool-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mempool-kpis > div { min-width: 0; padding: 10px 8px; border-right: 1px solid #3b515a; border-bottom: 0; }
  .mempool-kpis > div:last-child { border-right: 0; }
  .mempool-kpis span { min-height: 21px; font-size: 8px; letter-spacing: 0; }
  .mempool-kpis strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .mempool-map-wrap { height: 210px; }
  .mempool-map-legend small { display: none; }
  .mempool-feed-pane { max-height: 300px; }
  .holder-insight { padding: 18px; }
  .address-scope-note { align-items: flex-start; }
  .detail-grid, .address-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fact-card { min-width: 0; padding: 12px 10px; }
  .fact-card strong { font-size: 12px; }
  .fact-card strong.mono { font-size: 10px; }
  .address-summary .fact-card { padding: 12px 10px; }
  .network-pill { display: flex; margin-left: auto; }
  .network-pill strong { display: inline; font-size: 9px; }
  body[data-page="analytics"] .analytics-hero-copy { padding: 20px; }
  body[data-page="analytics"] .analytics-price-lockup { margin: 18px 0 15px; }
  body[data-page="analytics"] .analytics-price-lockup strong { font-size: 43px; }
  body[data-page="analytics"] .analytics-signal-strip article { padding: 12px 14px; }
}

@media (max-width: 360px) {
  .terminal-ribbon-inner { gap: 4px; font-size: 8px; }
  .language-trigger { min-width: 60px; gap: 5px; padding-inline: 7px; }
  .language-trigger .language-chevron { display: none; }
  .ribbon-block { gap: 4px; padding-inline: 6px; font-size: 8px; }
  .ribbon-block strong { font-size: 10px; }
  .network-pill strong { display: none; }
  .mempool-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mempool-kpis > div:nth-child(2) { border-right: 0; }
  .mempool-kpis > div:last-child { grid-column: 1 / -1; border-top: 1px solid #3b515a; }
  .mempool-kpis span { min-height: 0; }
  .mempool-kpis strong { font-size: 13px; }
}
