@font-face { font-family: 'Inter'; src: url('/fonts/inter-var-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f7f6f3; --panel: #ffffff; --panel2: #faf8f4; --line: #e9e4da; --text: #15120d; --muted: #6b6356; --faint: #9a9182;
  --accent: #f7931a; --accent2: #c46a00; --good: #0e9f6e; --bad: #dc2f45; --mid: #d08a00;
  --shadow: 0 1px 2px rgba(30,20,0,.04), 0 8px 24px rgba(30,20,0,.05); --radius: 16px; color-scheme: light;
}
:root[data-theme="dark"] { --bg: #0b0d12; --panel: #12151c; --panel2: #171b24; --line: #232836; --text: #eceae6; --muted: #9a9486; --faint: #686358;
  --accent: #f7931a; --accent2: #ffb45c; --good: #2ed69a; --bad: #ff5d6c; --mid: #f5b84b; --shadow: 0 10px 30px rgba(0,0,0,.3); color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0d12; --panel: #12151c; --panel2: #171b24; --line: #232836; --text: #eceae6; --muted: #9a9486; --faint: #686358;
  --accent: #f7931a; --accent2: #ffb45c; --good: #2ed69a; --bad: #ff5d6c; --mid: #f5b84b; --shadow: 0 10px 30px rgba(0,0,0,.3); color-scheme: dark; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0 0 auto 0; height: 520px; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 380px at 12% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(700px 320px at 92% -20%, color-mix(in srgb, var(--accent2) 10%, transparent), transparent 70%); }
a { color: var(--accent2); text-decoration: none; } a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; } .brand b { color: var(--accent); font-weight: 750; } .brand .word { font-weight: 500; }
.nav { display: flex; gap: 16px; margin-left: auto; overflow-x: auto; scrollbar-width: none; } .nav a { color: var(--muted); font-size: 14px; white-space: nowrap; } .nav a:hover { color: var(--text); text-decoration: none; }
.theme { border: 1px solid var(--line); background: var(--panel); color: var(--muted); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; flex: none; }
.theme svg { width: 18px; height: 18px; display: none; } .theme[data-mode="auto"] .i-auto, .theme[data-mode="light"] .i-light, .theme[data-mode="dark"] .i-dark { display: block; } .theme:not([data-mode]) .i-auto { display: block; }
main { padding: 28px 0 60px; }
section { margin-top: 56px; }
h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 8px 0 14px; }
h2 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; } h3 { margin: 6px 0; font-size: 17px; } .h-small { font-size: 15px; margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.sub { color: var(--muted); max-width: 820px; margin: 0 0 18px; } .lede { font-size: 18px; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; }
.big { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
a.card { color: var(--text); display: block; } a.card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; margin-top: 18px; }
.live { min-height: 200px; }
.lookup { display: flex; gap: 8px; margin-top: 18px; max-width: 560px; }
.lookup input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
.btn { background: var(--accent); color: #1a1000; border: 0; border-radius: 12px; padding: 0 18px; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 26px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .stat b { font-size: 20px; letter-spacing: -.01em; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.t-satoshi { color: var(--accent2); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); } .t-stolen { color: var(--bad); } .t-seized { color: #6d5dfc; } .t-exchange { color: var(--good); }
.alerts { list-style: none; margin: 0 0 10px; padding: 0; } .alerts.card { padding: 6px 18px; }
.alert { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); } .alert:last-child { border-bottom: 0; }
.a-title { color: var(--text); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex: none; background: var(--faint); } .d-high { background: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 18%, transparent); } .d-mid { background: var(--mid); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl tr:last-child td { border-bottom: 0; } .num { text-align: right; white-space: nowrap; }
.tbl.kv th { width: 170px; border: 0; padding-top: 10px; } .tbl.kv td { word-break: break-all; }
.up { color: var(--good); } .down { color: var(--bad); }
.scroll { overflow-x: auto; padding: 8px 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 99px; padding: 5px 12px; font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #1a1000; } a.chip:hover { text-decoration: none; }
.story h3 { font-size: 18px; }
.note-page main { max-width: 900px; } .note-body p { max-width: 760px; } .pager { display: flex; gap: 14px; align-items: center; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; } .foot-in p { max-width: 820px; } .small-brand { font-size: 16px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero, .two { grid-template-columns: 1fr; } .nav { display: none; } .theme { margin-left: auto; } }
.bars { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.bars li { display: grid; grid-template-columns: 110px 1fr 48px; align-items: center; gap: 8px; }
.bars span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bars b { text-align: right; font-weight: 600; }
.bars i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--w), var(--panel2) var(--w)); border: 1px solid var(--line); }
.plain { margin: 0; padding-left: 18px; } .plain li { margin: 6px 0; }
.fact h3 { color: var(--accent2); }
.btn.ghost { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 8px 14px; }
.changed td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.x { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 16px; }
.chart-card { margin-bottom: 14px; } .chart { position: relative; min-height: 120px; color: var(--muted); font-size: 13px; }
.chart-svg { display: block; overflow: visible; } .ch-ax { fill: var(--muted); font-size: 11px; } .ch-mark { fill: var(--accent2); font-size: 11px; font-weight: 600; } .ch-mark.now { fill: var(--bad); } .ch-empty { fill: var(--muted); font-size: 13px; }
.ch-tip { position: absolute; top: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 12px; box-shadow: var(--shadow); pointer-events: none; white-space: nowrap; }
.inv-page main { max-width: 1400px; }
.inv { display: grid; grid-template-columns: 1fr 300px; gap: 14px; margin-top: 16px; }
.inv-map { position: relative; padding: 0; overflow: hidden; height: 620px; } .inv-map svg { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; } .inv-map svg:active { cursor: grabbing; }
.inv-tools { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 8px; align-items: center; z-index: 2; pointer-events: none; } .inv-tools > * { pointer-events: auto; }
.inv-empty { position: absolute; inset: 45% 0 auto 0; text-align: center; }
.inv-side { align-self: start; position: sticky; top: 80px; } .inv-side .btn { display: block; width: 100%; margin: 8px 0; text-align: left; } .inv-side .mono { margin: 4px 0; }
.inv-edge { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-linecap: round; } .inv-edge:hover { stroke: var(--accent); }
.inv-node { cursor: pointer; } .inv-node rect { fill: var(--panel); stroke: var(--line); stroke-width: 1.2; } .inv-node:hover rect { stroke: var(--accent); }
.inv-node.tx rect { fill: var(--panel2); } .inv-node.mint rect { fill: color-mix(in srgb, var(--good) 14%, var(--panel)); } .inv-node.more rect { stroke-dasharray: 4 3; }
.inv-node.sel rect { stroke: var(--accent); stroke-width: 2.4; } .inv-node.g-stolen rect { stroke: var(--bad); } .inv-node.g-seized rect { stroke: #6d5dfc; } .inv-node.g-exchange rect { stroke: var(--good); } .inv-node.g-satoshi rect { stroke: var(--accent2); }
.inv-node .t1 { fill: var(--text); font-size: 12.5px; font-weight: 600; } .inv-node .t2 { fill: var(--muted); font-size: 11px; }
@media (max-width: 900px) { .inv { grid-template-columns: 1fr; } .inv-map { height: 480px; } .inv-side { position: static; } }
