@font-face {
  font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --bg: #fafafa; --surface: #ffffff; --text: #0b0f14; --muted: #6b7280; --faint: #9aa1ab; --line: #e8e8ec;
  --accent: #0f9f8f; --gold: #f59e0b; --ok: #0f9f8f; --ok-bg: #e7f6f3; --wait: #a16207; --wait-bg: #fdf6e3;
  --err-bg: #fdf1f1; --focus: #0f9f8f55;
  --radius: 12px; --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d12; --surface: #10151c; --text: #eef1f5; --muted: #8b95a3; --faint: #5d6776; --line: #1c2430;
    --accent: #2dd4bf; --gold: #fbbf24; --ok: #2dd4bf; --ok-bg: #0f2a28; --wait: #fbbf24; --wait-bg: #2a2410;
    --err-bg: #2a1515; --focus: #2dd4bf55;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { width: 18px; height: 18px; flex: none; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; font-size: 16px; }
.brand svg { width: 24px; height: 24px; color: var(--accent); }
.brand.small { font-size: 13px; } .brand.small svg { width: 18px; height: 18px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--text); background: var(--surface); }

/* hero */
.hero { padding: 72px 16px 28px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 16px; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.lead { margin: 0 auto 32px; max-width: 520px; color: var(--muted); font-size: 17px; }
.search { position: relative; display: flex; align-items: center; max-width: 600px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px -12px rgb(0 0 0 / .12); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus); }
.search-ico { position: absolute; left: 18px; color: var(--faint); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text);
  padding: 12px 12px 12px 42px; font: 14px var(--mono); }
.search input::placeholder { font-family: var(--sans); color: var(--faint); }
.search button { border: 0; border-radius: 10px; padding: 11px 22px; background: var(--text); color: var(--bg);
  font: 600 14px var(--sans); cursor: pointer; transition: opacity .15s; }
.search button:hover { opacity: .88; } .search button:disabled { opacity: .5; cursor: wait; }
.hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: var(--faint); }
.hint svg { width: 14px; height: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 20px 14px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 13px; font-weight: 550; margin-top: 2px; }
.stat small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* results */
.result { padding-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 10px; }
.card.muted, .muted { color: var(--muted); }
.summary { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.summary.none { font-weight: 500; }
.card p + p { margin-top: 4px; }
.card p { margin: 0; }
.item { display: grid; gap: 8px; }
.item-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.amount { font-size: 18px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.usd { color: var(--muted); font-size: 14px; margin-left: 4px; }
.meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.meta code { font: 12px var(--mono); color: var(--faint); }
.badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--line); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.wait { background: var(--wait-bg); color: var(--wait); }
.step { font-size: 14px; padding-top: 10px; border-top: 1px dashed var(--line); }
.step a { color: var(--accent); text-decoration: none; font-weight: 550; }
.step a:hover { text-decoration: underline; }
.warn { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.err { background: var(--err-bg); }

/* sections */
.section { padding: 64px 16px 8px; }
.section-head { margin-bottom: 20px; }
h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; font-weight: 700; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.guide-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 16px 2px; }
summary::-webkit-details-marker { display: none; }
summary > span { font-weight: 600; font-size: 15px; }
summary small { color: var(--faint); font-size: 13px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--faint); border-bottom: 1.6px solid var(--faint);
  transform: rotate(45deg) translateY(-3px); transition: transform .15s; flex: none; }
details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
summary:hover > span { color: var(--accent); }
.guide-body { padding: 0 2px 18px; }
.guide-body ol { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-body li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; }
.guide-body li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--muted); margin-top: 1px; }
.guide-body p { margin: 12px 0 0 36px; font-size: 13px; color: var(--muted); }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { position: relative; padding-left: 22px; color: var(--muted); }
.rules li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rules b { color: var(--text); font-weight: 600; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 72px; padding: 24px 16px 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  nav a span { display: none; }
  nav a { padding: 8px; }
  .search button { padding: 11px 16px; }
  summary small { display: none; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dot { fill: var(--gold); }
.adv { margin: 16px 0 0 36px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.adv h4 { margin: 0 0 8px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.adv ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; overflow-wrap: anywhere; }
.adv .adv-note { margin: 10px 0 0; font-size: 12px; color: var(--wait); }
@media (max-width: 640px) { .adv, .guide-body p { margin-left: 0; } }
.privacy { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); background: var(--surface); }
.privacy svg { width: 14px; height: 14px; color: var(--accent); }

/* finder's fee */
.optional { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.tip-list { display: grid; gap: 10px; }
.tip { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 16px; display: grid; gap: 8px; }
.tip-label { font-size: 13px; font-weight: 600; }
.tip-sub { font-size: 12px; color: var(--faint); }
.tip-row { display: flex; align-items: center; gap: 10px; }
.tip-row code { flex: 1; min-width: 0; font: 13px var(--mono); overflow-wrap: anywhere; user-select: all; }
.copy { display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  border-radius: 8px; padding: 6px 10px; font: 500 13px var(--sans); cursor: pointer; }
.copy svg { width: 15px; height: 15px; }
.copy:hover { border-color: var(--accent); }
.copy.done { color: var(--ok); border-color: var(--ok); }
.fee-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.prebedrock { margin-top: 2px; padding: 9px 12px; border-radius: 10px; background: var(--wait-bg); color: var(--wait); font-size: 13px; }
.prebedrock a { color: inherit; font-weight: 600; }

/* thin red tip banner */
.tipbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding: 4px 16px;
  background: #b91c1c; color: #fff; font-size: 12px; line-height: 1.4; text-align: center; }
.tipbar code { font: 12px var(--mono); color: #fff; overflow-wrap: anywhere; }
.tipbar-copy.copy { background: transparent; border: 1px solid rgb(255 255 255 / .5); color: #fff; padding: 1px 7px; font-size: 11px; border-radius: 6px; }
.tipbar-copy.copy svg { width: 12px; height: 12px; }
.tipbar-copy.copy:hover { border-color: #fff; }
.tipbar-copy.copy.done { color: #fff; border-color: #fff; }
.tipbar-more { color: #fff; opacity: .85; text-decoration: underline; }
@media (max-width: 640px) { .tipbar-text { display: none; } .tipbar code { font-size: 11px; } .tipbar-more { display: none; } }
.ts-widget { display: flex; justify-content: center; margin-top: 10px; min-height: 0; }

/* tip reminder after a lookup that found funds: a centred modal (native <dialog>) over a dimmed page */
.tip-toast { position: fixed; inset: 0; margin: auto; z-index: 20; width: min(420px, calc(100vw - 32px)); height: fit-content;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 20px 22px 16px; box-shadow: 0 20px 60px rgb(0 0 0 / .35);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .2s, transform .2s; }
.tip-toast.show { opacity: 1; transform: none; }
.tip-toast::backdrop { background: rgb(5 8 12 / .55); backdrop-filter: blur(2px); }
.tip-toast-h { font-size: 17px; }
.tip-toast-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--muted);
  font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; border-radius: 6px; }
.tip-toast-x:hover { color: var(--text); background: var(--bg); }
.tip-toast-h { margin: 0 24px 6px 0; font-weight: 650; letter-spacing: -.01em; }
.tip-toast-p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.tip-toast .tip-row { display: flex; align-items: center; gap: 8px; }
.tip-toast code { font: 12px var(--mono); overflow-wrap: anywhere; min-width: 0; }
.tip-toast-f { margin: 8px 0 0; font-size: 12px; color: var(--faint); }
.tip-toast-f a { color: var(--accent); text-decoration: none; }
.tip-toast-later { margin-top: 8px; border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 13px;
  text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tip-toast { transition: none; } }


/* guide code blocks */
.code-box { position: relative; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.code-box h4 { margin: 0 0 4px; font-size: 14px; }
.code-box > p.muted { margin: 0 0 8px; font-size: 13px; }
pre.code { margin: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  overflow-x: auto; font: 12px/1.55 var(--mono); white-space: pre; max-width: 100%; }
.code-copy { position: absolute; right: 8px; top: 8px; }

/* batch check */
.batch-form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; }
.batch-form input, .batch-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  color: var(--text); padding: 8px 10px; font: 13px var(--mono); }
.batch-form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.batch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.batch-row button { border: 0; border-radius: 10px; padding: 10px 20px; background: var(--text); color: var(--bg); font: 600 14px var(--sans); cursor: pointer; }
.batch-row button:disabled { opacity: .5; cursor: wait; }
.batch-item summary { cursor: pointer; font-size: 14px; overflow-wrap: anywhere; }
.batch-item summary code { font: 13px var(--mono); }
.batch-item .card { margin-top: 10px; }
.api-doc { margin-top: 12px; font-size: 13px; } .api-doc summary { cursor: pointer; color: var(--muted); }
.api-doc pre.code { margin-top: 8px; }
.api-doc p { margin: 8px 0 0; line-height: 1.5; } .api-doc code { font-size: 12px; word-break: break-all; }

/* first-visit "official channels" popup */
.official { max-width: 420px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.official::backdrop { background: rgba(5,8,12,.6); backdrop-filter: blur(2px); }
.official h2 { margin: 0 0 8px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.official h2 svg { width: 20px; height: 20px; color: var(--accent); }
.official p { margin: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.official-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.official-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.official-list svg { width: 18px; height: 18px; color: var(--text); flex: none; }
.official-list a { color: var(--accent); font-weight: 600; text-decoration: none; }
.official-list span { margin-left: auto; font-size: 12px; color: var(--faint); }
.official-tip code { font-size: 12px; overflow-wrap: anywhere; color: var(--text); }
.official-warn { color: var(--text) !important; }
.official button { margin-top: 10px; width: 100%; border: 0; border-radius: 10px; padding: 11px; background: var(--text); color: var(--bg); font-weight: 600; cursor: pointer; }
.foot-official { display: block; margin-top: 6px; }
.foot-official a { color: var(--accent); text-decoration: none; }

/* credits */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 10px 18px;
  background: var(--text); color: var(--bg); font: 600 14px var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { opacity: .88; } .btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.linkish { background: none; border: 0; padding: 0; margin-top: 8px; color: var(--muted); font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.card.lock { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.lock-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lock-msg { margin-top: 8px !important; font-size: 13px; }
.lock-free { margin: 18px 0 0; font-size: 13px; }
.cr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-grid .card { margin-top: 0; }
.cr-bal code { font: 13px var(--mono); }
.cr-paste { display: flex; gap: 8px; margin-top: 10px; }
.cr-paste input, .cr-buyrow input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  background: var(--bg); color: var(--text); font: 14px var(--mono); }
.cr-buy label { display: block; font-size: 13px; margin-top: 6px; }
.cr-buyrow { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.bulk label { display: block; font-size: 13px; margin-top: 6px; }
.bulk textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 10px; resize: vertical; min-height: 120px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); color: var(--text); font: 13px/1.5 var(--mono); }
.bulk .lock-row { align-items: center; }
.bulk-row { padding: 12px 16px; }
.bulk-row summary { cursor: pointer; font-size: 14px; overflow-wrap: anywhere; }
.bulk-row summary code { font-size: 13px; }
.bulk .card .btn.ghost { margin-top: 12px; }
.bulk table.price input { margin: 0; }
.cr-dollar { color: var(--muted); font-weight: 600; }
.cr-small { font-size: 12.5px; margin-top: 8px !important; }
.keybox .tip-row, .paybox .tip-row { margin-top: 12px; }
.pay-l { font-size: 12px; color: var(--muted); width: 56px; flex: none; }
.cr-ack { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; font-size: 14px; }
.pay-status { margin-top: 12px !important; font-weight: 600; }
.pay-status.ok { color: var(--ok); }
.cr-more { margin-top: 10px; }
table.price { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 14px; margin-bottom: 10px; }
table.price th, table.price td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); }
table.price th { font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .cr-grid { grid-template-columns: 1fr; } .cr-buyrow { flex-wrap: wrap; } .cr-buyrow .btn { width: 100%; } }

/* claim guide sent with a lookup result (sources without a public guide) */
.inline-guide { margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 0; }
.inline-guide summary { padding-top: 12px; }

/* views: the guides and the API are their own pages (#guides, #api); the checker page stays compact */
body:not([data-view="guides"]) #guides, body:not([data-view="api"]) #api { display: none; }
body[data-view="guides"] main > section:not(#guides), body[data-view="api"] main > section:not(#api) { display: none; }
body[data-view="guides"] #guides, body[data-view="api"] #api { padding-top: 28px; min-height: 70vh; }
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; color: var(--muted, #8a94a6); text-decoration: none; }
.back:hover { text-decoration: underline; }

/* --- front page layout (2026-10-06 evening): one checker card with tabs, compact tip + safety side by side --- */
.hero { padding: 56px 16px 8px; }
.lead { margin-bottom: 28px; }
.checker { max-width: 640px; margin: 0 auto; text-align: left; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.checker .tabs { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.tab { border: 0; background: transparent; color: var(--muted); font: 500 14px var(--sans); padding: 7px 14px; border-radius: 7px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.checker .search { max-width: none; }
.checker .bulk textarea { margin-top: 0; min-height: 132px; border-radius: var(--radius); }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.bulk-bar .muted { font-size: 13px; }
.checker .hint { justify-content: center; text-align: center; margin-top: 14px; }
.bulk-wrap:has(#bulk-out:empty) { display: none; }
.stats { margin-top: 28px; }
.result { margin-top: 8px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
.info h2 { font-size: 18px; margin: 0 0 8px; }
.info > p { margin: 0 0 14px; font-size: 14px; }
.info .rules { gap: 8px; font-size: 14px; }
.info .tip-row code { font-size: 12px; overflow-wrap: anywhere; }
.api-note { margin-top: 12px; font-size: 14px; }
@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bulk-bar { flex-direction: column; align-items: stretch; }
}
.checker .hint svg { display: none; }
