:root {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111c2e;
  --panel-2: #16243a;
  --line: #26364e;
  --text: #f1f5fb;
  --muted: #9aabc2;
  --blue: #57a6ff;
  --green: #59d6a2;
  --red: #ff8b8b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -15%, #1c3150 0, var(--bg) 42rem);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px); border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 14, 25, .76); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); font-size: 16px; font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #244777; color: white; font-weight: 800; }
.brand strong { color: #8bbaff; }
.connection { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.connection i { width: 8px; height: 8px; border-radius: 50%; background: #76849a; }
.connection.online i { background: var(--green); box-shadow: 0 0 12px #59d6a277; }
.connection.offline i { background: var(--red); }
.container { width: min(1120px, calc(100% - 32px)); margin: auto; }
.hero { padding: clamp(40px, 8vw, 84px) 0 35px; text-align: center; }
.eyebrow { color: #75aef1; font-size: 10px; font-weight: 800; letter-spacing: .17em; margin: 0 0 8px; }
h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.04em; line-height: 1.13; margin: 0; }
.hero-copy { color: var(--muted); margin: 12px 0 25px; }
.search { display: flex; max-width: 760px; margin: auto; padding: 6px; border: 1px solid #3a4d68; border-radius: 13px; background: #0c1727; box-shadow: 0 16px 55px #0005; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); padding: 12px 14px; font-size: 14px; }
.search input::placeholder { color: #73839a; }
.search button { border: 0; border-radius: 9px; padding: 0 22px; color: #061020; background: #8bbaff; font-weight: 800; cursor: pointer; }
.search button:hover { background: #b1d1ff; }
.load-more { margin-top: 14px; border: 1px solid #45658d; border-radius: 8px; background: #1b2c44; color: #dbeaff; padding: 9px 13px; cursor: pointer; }
.load-more:hover { background: #263c5a; }
.error { min-height: 24px; color: var(--red); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 7px 0 26px; }
.stat-card, .panel { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #142238, #101a2a); }
.stat-card { padding: 16px 18px; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; margin-top: 6px; font-size: 21px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.notice { padding: 12px 15px; border: 1px solid #68572e; border-radius: 10px; background: #342b19; color: #ffe2a2; font-size: 13px; }
.panel { padding: 21px; margin: 16px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
th, td { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
tr:last-child td { border-bottom: 0; }
td { font-variant-numeric: tabular-nums; }
.hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: 160px 1fr; gap: 0; }
.detail-grid dt, .detail-grid dd { margin: 0; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
.detail-grid dt { color: var(--muted); }
.detail-grid dd { overflow-wrap: anywhere; }
.list { display: grid; gap: 8px; padding: 0; list-style: none; }
.list li { padding: 11px 13px; background: var(--panel-2); border: 1px solid rgba(255,255,255,.05); border-radius: 9px; overflow-wrap: anywhere; }
.amount-positive { color: var(--green); }
.amount-negative { color: var(--red); }
footer { display: flex; justify-content: space-between; gap: 12px; color: #75869d; font-size: 11px; padding: 25px 2px 42px; }
.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; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 16px 13px; }
  .search button { padding: 0 15px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid dt { padding-bottom: 0; border-bottom: 0; }
  .detail-grid dd { padding-top: 3px; }
  footer { flex-direction: column; }
}
