From cb60b26fcf45df35527b4fa8de3e33a51fe3ff79 Mon Sep 17 00:00:00 2001 From: Ty J Everett Date: Mon, 26 Oct 2026 17:41:00 -0700 Subject: [PATCH] Simplify receiving, address selection and wallet language --- README.md | 8 +-- frontend/src/App.tsx | 116 +++++++++++++++++++++-------------------- frontend/src/style.css | 2 +- 3 files changed, 65 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index a5c472f..50b8eb0 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ A client-only BRC-100 wallet application at [mountaintops.net](https://mountaint ## Receiving, expiration and recovery -The original address keeps the exact `[1, 'mountaintops']`, decimal key ID `1`, counterparty `anyone`, `forSelf: true` derivation. Browser workers search canonical decimal key IDs from `1` upward, returning the first match for a fixed BRC-234 target. The suggested target uses a measured 30-second, 95th-percentile work estimate; each work slice is bounded to 30 seconds. Search is free. A match requires explicit **Save address to wallet · fees apply** before the address can be displayed/shared, then **Use this address** to switch receiving. Pausing is free; saving resumable progress to the wallet is an explicit fee-bearing step. Unsaved work can always be repeated deterministically from ID 1; no published address depends on that session's memory. +The main Receive view shows one selected address, its expiration status and payment controls. Other addresses, advanced search targets, transaction eligibility and recovery explanations are collapsed until needed; Send has its own view. A saved address with longer coverage is offered directly before suggesting more mining. Expiration warnings and fees remain beside the affected action. -Address publications, primary selections, search progress, permanent receiving retirements, chain checkpoints, bounded-history completion are immutable encrypted on-chain PushDrop records using SDK `LocalKVStore` in wallet basket `mntops v1`. Each metadata record uses a 1-satoshi output plus network fees and the wallet's permission flow. There are no certificate APIs or certificate storage. Independent random record keys allow concurrent-device records to merge without overwriting another device's address history. A published address is never acknowledged until the wallet can read its record back. +The original address keeps the exact `[1, 'mountaintops']`, decimal key ID `1`, counterparty `anyone`, `forSelf: true` derivation. Browser workers search canonical decimal key IDs from `1` upward, returning the first match for a fixed BRC-234 target. The suggested target uses a measured 30-second, 95th-percentile work estimate; each work slice is bounded to 30 seconds. Search is free. A match requires explicit **Save address** (wallet fees apply) before the address can be displayed/shared, then **Use for receiving** to switch receiving. Pausing is free; saving resumable progress to the wallet is an explicit fee-bearing step. Unsaved work can always be repeated deterministically from ID 1; no published address depends on that session's memory. + +Address publications, primary selections, search progress, permanent receiving retirements, chain checkpoints, bounded-history completion are immutable encrypted on-chain PushDrop records using SDK `LocalKVStore` in wallet basket `mntops v1`. Each metadata record uses a 1-satoshi output plus applicable network and wallet service fees and the wallet's permission flow. There are no certificate APIs or certificate storage. Independent random record keys allow concurrent-device records to merge without overwriting another device's address history. A published address is never acknowledged until the wallet can read its record back. Restore the same BRC-100 wallet account and its supported storage/recovery service on any device. Browser storage, the old device, an open tab, manually saved key IDs and exports are not recovery dependencies. The original address can be reconstructed without a storage transaction. As with other BRC-100 applications, the wallet account and its storage service must remain available. @@ -24,7 +26,7 @@ Address, TXID and script-hash predicates are independent. The app displays fundi Native durable wallet action history and unique labels support recovery after an interrupted submission, without requiring an extra fee-paying record before the first import. An empty wallet can import its first coins. Signed noSend preparations can be canceled by TXID from a fresh device; unsigned or uncertain actions require wallet review. An uncertain outcome blocks automatic retries and requires checking wallet history. Out-of-session signable-reference recovery is not assumed. Mountaintops does not promise that a BRC-234 merge proves provider adoption, indefinite WoC availability, complete retrieval of data a provider no longer serves, or external wallet transaction-grinding support. Such failures remain explicit, with retained funds and keys intact. -The **Transactions this session** list is ephemeral React state and clears on reload. Mountaintops does not create extra history tokens or load past completed payments into that list. The wallet retains its own mandatory transaction records and coin proofs; native unfinished-action checks remain for duplicate-payment protection. For existing desktop wallets, the client prefers their standard JSON bridge over SDK 4's changed binary output format, only after verifying the same identity and network. CWI/mobile transports are unchanged. +The **Activity this session** list is ephemeral React state and clears on reload. Mountaintops does not create extra history tokens or load past completed payments into that list. The wallet retains its own mandatory transaction records and coin proofs; native unfinished-action checks remain for duplicate-payment protection. For existing desktop wallets, the client prefers their standard JSON bridge over SDK 4's changed binary output format, only after verifying the same identity and network. CWI/mobile transports are unchanged. ## Development and validation diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 5cf444a..b0472e8 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -25,6 +25,7 @@ export default function Mountaintops() { const [message, setMessage] = useState('') const [error, setError] = useState('') const [balances, setBalances] = useState>({}) + const [view, setView] = useState<'receive' | 'send'>('receive') const [target, setTarget] = useState('auto') const [found, setFound] = useState(null) const [candidate, setCandidate] = useState<{ stage: number; keyID: string; address: string } | null>(null) @@ -44,7 +45,7 @@ export default function Mountaintops() { const run = async (task: () => Promise, quiet = false) => { if (operation.current) return operation.current = true; setBusy(true) - if (!quiet) { setError(''); setMessage('Working… Check your wallet for any permission request.') } + if (!quiet) { setError(''); setMessage('Working… Check your wallet if prompted.') } try { await task() } catch (e) { setError(e instanceof Error ? e.message : 'Operation unavailable. Check your wallet before retrying a payment.') } finally { operation.current = false; setBusy(false) } } @@ -95,7 +96,7 @@ export default function Mountaintops() { if (PublicKey.fromString(expected.publicKey).toAddress(fresh.network) !== result.address) throw new Error('Mined public key does not match the wallet') if (!existing) await fresh.store.append('address', { keyID: result.keyID, address: result.address, targetStage: result.stage }) await reload(fresh); setFound(result.keyID); setCandidate(null) - setMessage('Address saved as an encrypted PushDrop record in your wallet. Review it, then select “Use this address”.') + setMessage('Address saved. Select “Use for receiving” to switch to it.') }) } @@ -113,17 +114,17 @@ export default function Mountaintops() { worker.current = nextWorker; searchProgress.current = null; setSearching(true); setFound(null); setCandidate(null); setPausedSearch(null) nextWorker.onmessage = ({ data }) => { if (worker.current !== nextWorker) return - if (data.kind === 'started') setMessage(`Searching stage ${data.stage}. Suggested work budget: 30 seconds; completion time is uncertain.`) + if (data.kind === 'started') setMessage(`Finding an address… up to 30 seconds.`) if (data.kind === 'progress') { searchProgress.current = { stage: data.stage, next: data.next } - setMessage(`Searching stage ${data.stage}: ${(BigInt(data.next) - 1n).toLocaleString()} key IDs checked · ${Math.floor(data.elapsed / 1000)} seconds.`) + setMessage(`${Math.floor(data.elapsed / 1000)} seconds · ${(BigInt(data.next) - 1n).toLocaleString()} addresses tried`) } if (['found', 'paused', 'error'].includes(data.kind)) { nextWorker.terminate(); worker.current = null; setSearching(false) - if (data.kind === 'found') { setCandidate(data); setMessage('Match found. Save it to your wallet before using or sharing it. Saving incurs a 1-satoshi record plus network fees.') } + if (data.kind === 'found') { setCandidate(data); setMessage('New address found. Save it before using it.') } if (data.kind === 'paused') { setPausedSearch({ stage: data.stage, next: data.next }); setTarget(String(data.stage)) - setMessage('No match in this 30-second slice. Continue here for free, or save progress in your wallet to resume on another device.') + setMessage('No match yet. You can keep searching for free.') } if (data.kind === 'error') setError(String(data.message)) } @@ -137,20 +138,20 @@ export default function Mountaintops() { worker.current?.terminate(); worker.current = null; setSearching(false) const progress = searchProgress.current if (progress) { setPausedSearch(progress); setTarget(String(progress.stage)) } - setMessage('Search paused. Continue here for free, or save progress in your wallet to resume on another device. Saved addresses are already recoverable.') + setMessage('Search paused. Your saved addresses are safe in your wallet.') } const choose = (keyID: string) => void run(async () => { const fresh = await reload(); const entry = fresh.book.find(x => x.keyID === keyID) if (fresh.receivingBlocked) throw new Error(fresh.receivingBlocked) if (!entry) throw new Error('Address not found') assertReceivable(entry, fresh.coverage.stage) - await fresh.store.append('primary', { keyID }); await reload(fresh); setFound(null); setMessage('Receiving address selected. Previous addresses keep their own sunset dates.') + await fresh.store.append('primary', { keyID }); await reload(fresh); setFound(null); setMessage('Receiving address updated.') }) const checkCoins = (keyID: string) => void run(async () => { const fresh = await reload(); const entry = fresh.book.find(x => x.keyID === keyID)! const coins = await refreshCoins(client, fresh.store, entry, fresh.coverage, setMessage) setBalances(x => ({ ...x, [keyID]: coins })); await reload(fresh) - setMessage('Funds checked and deposit evidence retained in your wallet. Network checks depend on WoC availability.') + setMessage('Payments checked. Recovery evidence is saved in your wallet.') }) const importMoney = (keyID: string) => void run(async () => { const fresh = await reload() @@ -159,7 +160,7 @@ export default function Mountaintops() { const coins = await refreshCoins(client, fresh.store, entry, fresh.coverage, setMessage) const submitted = await importCoins(client, fresh.store, entry, coins, fresh.coverage, setMessage) setTxid(submitted); setHistory(x => [{ txid: submitted, description: 'Import to wallet', status: 'Submitted' }, ...x]); setBalances(x => ({ ...x, [keyID]: undefined })) - await reload(fresh); setMessage('Import submitted. Check wallet status; confirmations and wallet credit may follow later.') + await reload(fresh); setMessage('Transfer submitted. Check your wallet for the final result.') }) const send = () => void run(async () => { const fresh = await reload() @@ -170,79 +171,80 @@ export default function Mountaintops() { const submitted = await sendCoins(client, fresh.store, recipient, amount, fresh.coverage, setMessage) setTxid(submitted); setHistory(x => [{ txid: submitted, description: `Send ${amount} BSV`, status: 'Submitted' }, ...x]) setRecipient(''); setAmount(''); await reload(fresh) - setMessage('Payment submitted. Exchange credit and confirmation are separate; check wallet history before retrying.') + setMessage('Payment submitted. Check your wallet for the final result.') }) const disabled = busy || searching const primary = session?.book.find(x => x.keyID === session.primary) const foundEntry = session?.book.find(x => x.keyID === found) + const suggestedEntry = !foundEntry && !candidate && !pausedSearch && !searching && session?.book.filter(x => !x.retiredAt && lastCoveredStage(x.address) > (primary ? lastCoveredStage(primary.address) : -1)).sort((a, b) => lastCoveredStage(b.address) - lastCoveredStage(a.address))[0] const pendingActions = session ? unresolvedActions(session.records) : [] const savedSearches = session ? [...new Map(session.records.filter(x => x.kind === 'search').map(x => [Number(x.data.stage), x.data])).values()] .filter(x => Number(x.stage) > Math.max(...session.book.map(entry => lastCoveredStage(entry.address)))) : [] const card = (entry: AddressRecord, selected = false) => { const coins = balances[entry.keyID] + const total = coins?.reduce((sum, coin) => sum + coin.satoshis, 0) const pending = session!.coverage.state?.pending const pendingExpiry = !entry.retiredAt && pending && !addressMatches(entry.address, pending.target) - return
-

{entry.keyID === '1' ? 'Original address' : 'Mined address'} {selected && Receiving}

+ const longest = Math.max(...session!.book.map(x => lastCoveredStage(x.address))) + const level = lastCoveredStage(entry.address) + const name = selected ? 'Your receiving address' : entry.keyID === '1' ? 'Original address' : 'Saved address' + const expiration = entry.retiredAt ? 'Expired — do not send here' : pendingExpiry ? 'Expiration pending' : entry.network !== 'mainnet' ? 'Testnet address' : level === 27 ? 'No expiration scheduled' : 'Expiration date not set yet' + return
+

{name}

{entry.retiredAt ? 'Expired' : pendingExpiry ? 'Expiring' : 'Active'}
{entry.address} -

{coverageLabel(entry.address, entry.network, session!.coverage.anchorMtp, entry.retiredAt)}

-

{entry.retiredAt ? 'Mountaintops no longer checks this address for new deposits. Coins received before expiration remain yours and can still be imported.' : 'Stop using this address when it expires. Coins already received remain yours.'}

- {pendingExpiry &&

Pending sunset at stage {pending.target}: the chain-time notice ends {new Date(pending.deadline * 1000).toISOString().replace('.000Z', ' UTC')}. Expiration starts in the following accepted block. This is a chain-time deadline, not a wall-clock guarantee. Use a longer-coverage address for new payment instructions.

} - {entry.retiredAt &&

Expired at block {entry.retiredAt.height.toLocaleString()}, {new Date(entry.retiredAt.mtp * 1000).toISOString().slice(0, 10)} UTC. Receiving is permanently disabled.

} +

{expiration}

+ {!entry.retiredAt && !pendingExpiry && entry.network === 'mainnet' && longest > 0 &&

{level === longest ? 'Longest coverage of your saved addresses.' : level === 0 ? 'Expires before your longer-lasting addresses.' : 'Longer coverage than your original address.'}

} + {entry.retiredAt &&

Receiving is disabled. You can still move earlier payments to your wallet.

} + {pendingExpiry &&

Stop sharing this address. The chain-time notice ends {new Date(pending.deadline * 1000).toISOString().replace('.000Z', ' UTC')}; expiration begins in the following accepted block.

}
- {!entry.retiredAt && } - {!entry.retiredAt && !selected && } - - + {!entry.retiredAt && } + {!entry.retiredAt && !selected && }
- {!entry.retiredAt && !selected &&

Selecting this address saves your preference in the wallet: a 1-satoshi record plus network fees.

} -

{coins === undefined ? 'Funds not checked in this session.' : `${entry.retiredAt ? 'Verified retained funds' : 'Verified unspent funds'}: ${money(coins.reduce((sum, coin) => sum + coin.satoshis, 0))}`}

-
Address details

Key ID {entry.keyID}. Address filter satisfied through stage {lastCoveredStage(entry.address)}. Transaction eligibility also affects receiving.

{coins &&

Funding transactions: {coins.filter(x => x.fundingCoverage === 'covered').length} covered at confirmation, {coins.filter(x => x.fundingCoverage === 'outside coverage').length} outside the coverage rules, {coins.filter(x => x.fundingCoverage === 'unconfirmed').length} unconfirmed. These labels do not change ownership or actual unspent funds.

}
+ {!entry.retiredAt && !selected &&

Wallet fees apply when switching addresses.

} +
{total !== undefined ? <>{total.toLocaleString()} sats{money(total)} · available here : Payments}
+ {Boolean(coins?.length) &&
Wallet fees apply.
} +
Address details

{coverageLabel(entry.address, entry.network, session!.coverage.anchorMtp, entry.retiredAt)}

{entry.retiredAt &&

Expired at block {entry.retiredAt.height.toLocaleString()}. New-deposit lookups have stopped permanently.

}

Key ID {entry.keyID} · address rules satisfied through stage {level}. Payment transaction rules also apply.

{coins &&

Funding transactions: {coins.filter(x => x.fundingCoverage === 'covered').length} covered at confirmation, {coins.filter(x => x.fundingCoverage === 'outside coverage').length} outside coverage, {coins.filter(x => x.fundingCoverage === 'unconfirmed').length} unconfirmed. These labels do not change ownership.

}
} return
-

Mountaintops

Shout your BSV transactions from the mountaintops.
Absolutely no privacy!

-

Your receiving addresses

Coverage deadlines apply to receiving and free lookups. Your coins remain yours after an address expires.

- {!session ? <>

Connect your BRC-100 wallet. Recovery records use encrypted on-chain PushDrop tokens in your wallet’s basket. Saving records uses a 1-satoshi token plus network fees; your wallet controls approval. Mountaintops has no application server.

: <> -

{session.network} · coverage through block {session.coverage.height.toLocaleString()}{session.network === 'mainnet' && ` · stage ${session.coverage.stage}`}

- {session.receivingBlocked &&

{session.receivingBlocked}

} - {session.coverage.persistenceWarning &&

{session.coverage.persistenceWarning}

} - {primary ? card(primary, true) :

No eligible receiving address selected. Find or select one below. Historical coins remain accessible.

} -

Find longer coverage

Search in your browser for free, in 30-second work slices. A match may arrive sooner. Save a result to your wallet before using it, then select it as your receiving address.

- - {searching ? : } - {searching &&

{message}

} - {pausedSearch && } - {!searching && savedSearches.map(search =>

Recovered from your wallet; next key ID {String(search.next)}.

)} - {candidate &&

Match found · not saved yet

Passes the address filter through stage {lastCoveredStage(candidate.address)}. Your receiving address has not changed.

Creates an encrypted 1-satoshi PushDrop record plus network fees. Only saved addresses can be selected or shared.

} - {foundEntry &&

Found and saved. Review before switching:

{card(foundEntry)}
} -

Previous and saved addresses

Previous addresses can receive until their own expiration. Expired addresses are kept for historical access.

- {session.book.filter(x => x.keyID !== primary?.keyID && x.keyID !== foundEntry?.keyID).map(x => card(x))} - - } -
- {message &&

{message}

}{error &&

{error}

} - {session && <> - {pendingActions.length > 0 &&

Review unfinished wallet actions

Check wallet history before sending again. The wallet may already be retrying a submission.

{pendingActions.map(action =>

{String(action.state)} {action.txid ? `· ${String(action.txid)}` : ''}

Use the same BRC-100 wallet on any device.

: <> + + {pendingActions.length > 0 &&

Check your wallet before continuing

A previous payment has no final result yet. Do not send it again.

{pendingActions.map(action =>
Payment details

{String(action.state)} {action.txid ? `· ${String(action.txid)}` : ''}

)}
} -

SHOUT BSV Across To Someone

Pay from your connected wallet. Expired destinations are blocked. Wallet network fees apply.

{txid &&

Submitted TXID: {txid}

}

Submission, confirmation and exchange credit are separate. Check wallet history after an uncertain outcome before another send.

-

Transactions this session

This list clears when you reload or leave. Your wallet keeps its own payment records; address and coin recovery do not depend on this list.

{!history.length &&

No transactions submitted in this session.

}{history.map(x =>

{x.description} · {x.status}
{x.txid}

)}
+ await reload(fresh); setMessage('Wallet payment status checked.') + })}>{action.state === 'prepared' ? 'Cancel unsent payment' : 'Check wallet result'})}} + {session.receivingBlocked &&

{session.receivingBlocked}

} + {session.coverage.persistenceWarning &&

{session.coverage.persistenceWarning}

} + {(message || error) &&
{message && !searching &&

{message}

}{error &&

{error}

}
} + {view === 'receive' ?
+ {primary ? card(primary, true) :

Choose a receiving address

Find a new address or choose an active one below. Earlier payments remain yours.

} +

A longer-lasting address

{suggestedEntry ? 'Saved in your wallet. Fees apply to switch.' : 'Free to find. Wallet fees apply to save it.'}

{searching ? : }
+ {suggestedEntry && {suggestedEntry.address}} + {searching &&

{message}

} + {candidate &&

New address found

Save it so you can recover it on any device.

Wallet fees apply. Your receiving address will stay the same.
} + {foundEntry && foundEntry.keyID !== primary?.keyID &&

Saved. Ready to use.

{card(foundEntry)}
} +
Advanced search

Search runs for up to 30 seconds at a time. Higher stages take more work and pass stricter future address rules.

{suggestedEntry && } + {pausedSearch && <>

Wallet fees apply. Otherwise you can repeat this search on another device for free.

} + {!searching && savedSearches.map(search =>

Saved in your wallet · next key ID {String(search.next)}

)} +
+
+
Other addresses {session.book.filter(x => x.keyID !== primary?.keyID).length}

Each address has its own expiration. Expired addresses cannot receive; earlier payments remain yours.

{session.book.filter(x => x.keyID !== primary?.keyID && x.keyID !== foundEntry?.keyID).map(x => card(x))}
+

An address can expire. Your coins are still yours.

+
:

Send BSV

Public payment · wallet fees apply

Expired addresses are blocked. Confirm the result in your wallet before retrying.

{txid &&

Submitted: {txid}

}
} +
Activity this session {history.length}

Clears when you leave. Your wallet keeps its own payment records.

{!history.length &&

No payments yet.

}{history.map(x =>

{x.description} · {x.status}
{x.txid}

)}
} -

About expiration and recovery

What expires?

An address stops being available for receiving here when it leaves BRC-234 coverage. New-deposit lookups stop. Ownership and spending/importing existing coins remain intact. Do not send to expired addresses from any application.

Can I use a new device?

Restore the same BRC-100 wallet account and connect here. Encrypted PushDrop records in its basket recover your addresses and retirement history; the wallet retains coin evidence. No browser data or exports from the original device are needed. Keep your wallet account and its own recovery/storage service available.

Why isn’t the sunset a fixed date?

BRC-234 begins at mainnet block 1,000,000. Transitions also depend on volume and chain-time waiting periods. An eligibility gate differs from actual expiration.

Does mining guarantee every payment is covered?

Coverage also depends on the confirmed funding TXID and, from stage 13, version 1. The app prepares eligible payments within a bounded work budget. External senders may create payments outside those rules. A filtered ledger total is never treated as spendable money.

- + {!session && error &&

{error}

} +
Expiration, fees & recovery

When does my address expire?

The date depends on BRC-234 chain conditions. Until it is known, each address shows “Expiration date not set yet.” Address details show its exact stage and eligibility gate. A gate is not a guaranteed expiration date.

When an address expires, stop using it everywhere. Mountaintops disables receiving and stops looking for new deposits. Earlier coins remain yours and can still be moved to your wallet.

Can I recover on another device?

Connect the same BRC-100 wallet account. Your saved addresses and coin evidence come from the wallet, without browser data or files from this device. Keep your wallet account and its recovery service available.

What costs money?

Searching and pausing are free. Saving an address or search progress, and switching your receiving address, create encrypted 1-satoshi records in your wallet. Network and wallet service fees may apply. Moving or sending coins also incurs wallet fees.

Does a longer-lasting address cover every payment?

No. Funding TXID rules also apply, and from stage 13 the transaction must use version 1. Mountaintops prepares eligible transactions within a bounded work budget. External senders may create payments outside those rules. Eligibility never changes who owns the coins.

Technical status{session &&

{session.network} · checked through block {session.coverage.height.toLocaleString()} · stage {session.coverage.stage}

}

Client-only. Encrypted PushDrop recovery records use your BRC-100 wallet’s baskets. WhatsOnChain supplies chain data and historical recovery; unavailable or incomplete data cannot establish a balance.

+
} diff --git a/frontend/src/style.css b/frontend/src/style.css index 87dac4c..4054262 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1 +1 @@ -:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5f7fb;background:#101821;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:linear-gradient(#0a1520aa,#0a1520ee),url('/mountains.jpg') center/cover fixed;min-height:100vh}main{max-width:960px;margin:auto;padding:32px 20px 56px}header{text-align:center;margin:20px 0 36px}h1{font-size:clamp(2.5rem,8vw,4.2rem);margin:0}header strong{color:#ff8ba8}h2{font-size:1.5rem;margin:0 0 12px}h3{font-size:1.08rem;margin:0 0 12px}p{line-height:1.65}section{background:#111d2bf2;border:1px solid #40546b;border-radius:16px;padding:24px;margin:22px 0;box-shadow:0 10px 28px #0002}.address-card{border:1px solid #566c87;background:#172739;border-radius:12px;margin:16px 0;padding:20px}.address{display:block;overflow-wrap:anywhere;background:#0b1521;border-radius:8px;padding:12px;font-size:1rem;letter-spacing:.02em}.coverage{color:#c7e7ff}.expired{border-color:#df9c63}.expiry-warning{color:#ffd3a0;font-weight:650}.badge{background:#294f43;color:#c3ffe1;border-radius:12px;padding:4px 10px;margin-left:8px;font-size:.8rem}.buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}button{font:inherit;font-weight:650;cursor:pointer;background:#ddebf9;color:#122336;border:0;border-radius:8px;padding:11px 16px;margin:4px 0}button:hover:not(:disabled){background:#fff}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffd39a;outline-offset:3px}button:disabled{opacity:.48;cursor:default}.accent{background:#ff759a;color:#230914}.mining{margin:24px 0;border-top:1px solid #45556b;border-bottom:1px solid #45556b;padding:24px 0}label{display:block;line-height:1.6;font-weight:600;margin:14px 0}input,select{display:block;width:100%;font:inherit;color:#f6f8ff;background:#0b1521;border:1px solid #7289a5;border-radius:8px;padding:12px;margin-top:7px}select{white-space:normal}details{margin:14px 0}summary{cursor:pointer;font-weight:600}.notice,.error{position:relative;border-radius:10px;padding:16px 20px;overflow-wrap:anywhere}.notice{background:#203c50;border:1px solid #83bce5}.error{background:#481e2c;border:1px solid #ff9bb1}.warning{border-color:#df9c63}.small,footer{color:#c2cedd;font-size:.9rem}.transaction{overflow-wrap:anywhere;background:#0b1521;padding:12px;border-radius:8px}a{color:#9edbff}footer{padding:20px 4px;line-height:1.8}@media(max-width:520px){main{padding:20px 12px}section{padding:18px}.address-card{padding:14px}.buttons button{flex:1 1 140px}} +:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf3f5;background:#101b23;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:linear-gradient(#101b2355,#101b23ee 680px),url('/mountains.jpg') center top/cover fixed;min-height:100vh}main{max-width:760px;margin:auto;padding:40px 24px 32px}header{margin:0 0 32px}.brand{display:flex;align-items:center;gap:10px}.mountain-mark{font-size:2.5rem;line-height:1;color:#b9dbd1}h1{font-size:1.6rem;letter-spacing:-.04em;margin:0}header p{color:#b7c9cd;font-size:.95rem;margin:8px 0 0 42px}h2{font-size:1.55rem;letter-spacing:-.03em;margin:0 0 12px}h3{font-size:1.05rem;margin:0}p{line-height:1.55;margin:12px 0}section{background:#142630f7;border:1px solid #344b55;border-radius:18px;padding:28px;margin:18px 0;box-shadow:0 16px 48px #0002}.view-tabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid #40535a;padding-bottom:10px}.view-tabs button{background:transparent;color:#b8cbd1;padding:9px 22px}.view-tabs button[aria-pressed=true]{background:#e2f1ed;color:#15342e}.connection{margin-left:auto;font-size:.8rem;color:#a6c0b6}.receive-panel{padding:0;overflow:hidden}.address-card{padding:24px;border:1px solid #3b535d;border-radius:12px;background:#19303a;margin:14px 0}.address-card.selected{background:transparent;margin:0;border:0;border-radius:0;padding:28px}.card-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:18px}.selected h3{font-size:1.3rem;letter-spacing:-.02em}.badge{background:#264d43;color:#b9e4d2;border-radius:20px;padding:4px 9px;font-size:.72rem;font-weight:650;white-space:nowrap}.badge.caution{background:#61422c;color:#ffe0b1}.address{display:block;overflow-wrap:anywhere;background:#0e2029;border:1px solid #344e59;border-radius:9px;padding:16px;font-size:clamp(.9rem,2.6vw,1.05rem);letter-spacing:.01em;line-height:1.6}.coverage{color:#c6dbd8;font-size:.9rem;margin-bottom:4px}.coverage-comparison{margin:0}.expired{border-color:#c38c57}.expiry-warning{color:#ffd29a;font-weight:600}.buttons{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0}button{font:inherit;font-size:.9rem;font-weight:650;cursor:pointer;background:#deebe9;color:#15342e;border:1px solid transparent;border-radius:8px;padding:11px 16px;margin:0}button:hover:not(:disabled){background:#fff}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffd39a;outline-offset:3px}button:disabled{opacity:.45;cursor:default}.accent{background:#aee1cf;color:#113d30}.secondary{background:transparent;border-color:#58717b;color:#d4e5e7}.secondary:hover:not(:disabled){background:#29434c}.small{color:#a9c1c8;font-size:.82rem}.fee-note{display:block;margin:9px 0 0}.funds-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #344b55;padding-top:20px;margin-top:22px}.funds-row>div{display:flex;flex-direction:column;gap:3px}.funds{font-size:1.55rem;letter-spacing:-.025em}.funds-row button{flex-shrink:0}.import-row{display:flex;align-items:center;gap:12px;margin-top:16px}.technical{font-size:.82rem;color:#adc3c9;margin:20px 0 0}.technical p{font-size:.82rem}.technical summary{font-weight:400}.mining{border-top:1px solid #344b55;padding:24px 28px;background:#172c35}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading p{margin:5px 0 0}.section-heading button{flex-shrink:0}.result{padding:20px;margin:20px 0 0;background:#203e46;border:1px solid #6c9e9b;border-radius:12px}.result p{font-size:.9rem}.result .address-card{margin-bottom:0;padding:16px}.result-title{font-weight:650}.advanced{font-size:.82rem;color:#a9c1c8;margin:20px 0 0}.advanced label{font-size:.85rem}.saved-preview{margin-top:16px;font-size:.85rem}.address-list{padding:22px 28px;margin:0;border-top:1px solid #344b55}.count{font-size:.75rem;font-weight:400;background:#334c56;padding:2px 7px;border-radius:20px;margin-left:6px;color:#ccdadf}.ownership-note{text-align:center;font-size:.8rem;color:#abc5c8;padding:18px;margin:0;border-top:1px solid #344b55}.empty-state{padding:28px}.activity,.help{padding:19px 0;border-bottom:1px solid #344b55;margin:0;color:#c6d8dd;font-size:.88rem}.help h3{font-size:.95rem;margin-top:24px}.help p{font-size:.85rem;color:#b7cbd0}.help details{font-size:.82rem;margin-top:20px}.connect{padding:40px 28px}.connect>p{color:#b9cdd2;max-width:420px}.connect>button{margin:12px 0}.connect .small{font-size:.82rem}.feedback{margin-top:16px}.notice,.error{border-radius:10px;padding:12px 16px;overflow-wrap:anywhere;font-size:.87rem}.notice{background:#1b3844;border:1px solid #3e6778;margin:0 0 12px}.error{background:#481e2c;border:1px solid #e99aaa}.warning{border-color:#c38c57}.warning h2{font-size:1.15rem}.warning p{font-size:.9rem}.warning details{margin:12px 0}label{display:block;line-height:1.6;font-weight:600;font-size:.9rem;margin:20px 0}input,select{display:block;width:100%;font:inherit;color:#edf3f5;background:#0e2029;border:1px solid #58717b;border-radius:8px;padding:12px;margin-top:7px}select{white-space:normal}.send-panel>button{width:100%;margin-top:8px}summary{cursor:pointer;font-weight:550}summary::marker{color:#91b1bb}.transaction{overflow-wrap:anywhere;background:#0e2029;padding:12px;border-radius:8px;font-size:.82rem}a{color:#aed8df}footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;color:#8faab4;font-size:.75rem;padding:28px 0;line-height:1.6}footer div{display:flex;gap:18px}footer a{color:#a9c3ca}@media(max-width:520px){main{padding:24px 16px}header{margin-bottom:24px}.brand h1{font-size:1.4rem}.connection{font-size:.7rem}.view-tabs button{padding:9px 17px}.address-card.selected,.mining,.address-list{padding:22px 18px}.address-card{padding:18px}.card-heading{gap:8px}.selected h3{font-size:1.15rem}.address{padding:12px;font-size:.78rem}.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.section-heading button{width:100%}.funds-row{gap:10px}.funds-row button{max-width:150px;font-size:.8rem}.funds-row .small{font-size:.73rem}.result{padding:16px}.import-row{flex-wrap:wrap}.connect{padding:30px 22px}section{padding:22px}.ownership-note{font-size:.75rem}}