/* Navigation and developer tools; retain the established chain dashboard. */
[hidden] { display: none !important; }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.masthead { grid-template-columns: auto minmax(220px, 1fr) auto auto auto; gap: 18px 24px; padding: 18px 40px 0; }
.brand { grid-row: 1; grid-column: 1; }
.brand-text b { font-size: 25px; }
.search { position: relative; grid-row: 1; grid-column: 2; max-width: 580px; justify-self: center; }
.search input { height: 44px; padding-right: 32px; font-size: 12px; border-color: #30333d; background: #080b11; }
.search kbd { position: absolute; right: 88px; top: 12px; padding: 0 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font: 11px/18px var(--mono); pointer-events: none; }
.search button { height: 44px; background: #c5a467; border-color: #c5a467; color: #101014; box-shadow: none; padding: 0 16px; }
.netsw { grid-row: 1; grid-column: 3; }
.conn { grid-row: 1; grid-column: 4; }
.share-link { grid-row: 1; grid-column: 5; }
.share-link, .export-tools button { color: var(--muted); border: 1px solid var(--line); background: transparent; border-radius: 6px; padding: 8px 12px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.share-link:hover { color: var(--gold-bright); border-color: var(--gold-soft); }
.nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 4px; border-top: 1px solid var(--line-soft); scrollbar-width: thin; padding-top: 5px; }
.nav a { padding: 12px 13px; border-radius: 0; font-size: 12px; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--gold-bright); border-bottom-color: var(--gold); background: #d2b27308; box-shadow: none; }
.nav a.nav-developers { margin-left: auto; color: var(--gold); }
.nav a.nav-faucet { border: 0; border-bottom: 2px solid transparent; color: var(--muted); }
.export-tools { grid-row: 3; grid-column: 1 / -1; justify-self: end; padding-bottom: 10px; }
.eyebrow { display: block; color: var(--gold); font: 600 10px/1.5 var(--mono); letter-spacing: .17em; text-transform: uppercase; }
.network-label { display: inline-block; margin-left: 10px; border: 1px solid var(--gold-faint); color: var(--gold-bright); border-radius: 4px; padding: 3px 7px; letter-spacing: .1em; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 1px solid var(--gold); border-radius: 6px; background: var(--gold); color: #111218; padding: 12px 18px; font: 600 12px/1.4 var(--sans); cursor: pointer; }
.primary-link:hover { background: var(--gold-bright); color: #111218; }
.text-link { color: var(--muted); font: 500 12px/1.5 var(--sans); }
.text-link:hover { color: var(--gold-bright); }
.developer-hero { padding: 24px 0 36px; }
.developer-hero h1 { margin: 18px 0; font-size: clamp(42px, 5vw, 70px); letter-spacing: -.035em; }
.developer-hero p { color: var(--muted); }
.developer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.developer-card { padding: 28px; }
.developer-card h2 { margin: 16px 0; font-size: 27px; }
.developer-card p { color: #a6adbc; font-size: 14px; line-height: 1.8; }
.developer-card code { color: #d6c095; font-size: 12px; overflow-wrap: anywhere; }
.code-example { display: flex; align-items: start; gap: 12px; border: 1px solid var(--line); padding: 16px; background: #080b11; border-radius: 6px; }
.code-example code { overflow-wrap: anywhere; white-space: pre-wrap; }
.request-console { margin: 22px 0; padding: 28px; }
.request-console h2 { margin: 10px 0; font-size: 28px; }
.request-console label { display: block; color: var(--muted); font-size: 12px; margin: 16px 0 8px; }
.request-controls { display: flex; gap: 12px; }
.request-controls select { flex: 1; min-width: 0; background: #0a0d14; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 12px; font-size: 12px; }
.request-console pre { border: 1px solid var(--line); background: #080b11; color: #a9bea4; padding: 20px; border-radius: 6px; max-height: 400px; overflow: auto; font: 12px/1.7 var(--mono); }
#api-request-status { color: var(--muted); font-size: 12px; }
.watch-card { padding: 24px; }
.error-state { max-width: 640px; margin: 48px auto; padding: 36px; }
.error-state h1 { margin-top: 16px; font-size: 32px; }
.tx-filters { padding: 20px; }
.foot { gap: 20px; flex-wrap: wrap; padding: 24px 40px; border-top: 1px solid var(--line); font-size: 11px; }
@media (min-width: 1600px) {
.masthead { padding-left: max(40px, calc((100vw - 1504px) / 2)); padding-right: max(40px, calc((100vw - 1504px) / 2)); }
}
@media (max-width: 1100px) {
.masthead { padding: 16px 24px 0; gap: 14px; grid-template-columns: auto minmax(180px, 1fr) auto auto; }
.share-link { display: none; }
.conn { font-size: 11px; }
}
@media (max-width: 760px) {
.masthead { position: relative; grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px 0; gap: 16px; }
.brand-text b { font-size: 23px; }
.netsw { grid-row: 1; grid-column: 2; }
.search { grid-row: 2; grid-column: 1 / -1; max-width: none; }
.nav { grid-row: 3; grid-column: 1 / -1; overflow-x: auto; flex-wrap: nowrap; padding: 0; }
.nav a { padding: 11px 10px; }
.conn { grid-row: 4; grid-column: 1; padding-bottom: 12px; justify-self: start; margin-top: -6px; }
.export-tools { grid-row: 4; grid-column: 2; padding-bottom: 12px; margin-top: -6px; }
.developer-grid { grid-template-columns: minmax(0, 1fr); }
.developer-card, .request-console { padding: 22px; }
.foot { padding: 24px 18px; }
}
@media (max-width: 480px) {
.brand .seal { width: 32px; height: 32px; }
.brand { gap: 8px; }
.brand-text b { font-size: 21px; }
.brand-text small { font-size: 7px; }
.netsw button { padding: 7px; font-size: 10px; }
.hero-actions { gap: 18px; }
.request-controls { flex-direction: column; }
}

/* Keep the original dashboard structure; improve only its reading surface. */
main h1, main h2, main h3 { font-family: var(--sans); letter-spacing: -.025em; }
.hero-strip h1 { font-family: var(--sans); font-size: clamp(38px, 4vw, 58px); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; }
.hero-strip p { line-height: 1.7; }
.stat-card h2 { font-family: var(--sans); font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.stat-label { color: #a1a8b8; font-size: 11px; letter-spacing: .08em; }
.stat-value { font-family: var(--mono); font-size: 26px; line-height: 1.35; letter-spacing: -.035em; }
.stat-sub, .stat-footnote { color: #969eaf; line-height: 1.65; }
main th { color: #a1a8b8; font-family: var(--mono); font-size: 10px; letter-spacing: .075em; }
main td { line-height: 1.65; }
.panel, .stat-card { border-color: #272d3b; }
.note, .dim { color: #929bac; }
@media (max-width: 720px) { .stat-value { font-size: 23px; } .hero-strip h1 { font-size: 38px; } }
