/* Pavilion Wallet popup. The same Ink card as the Pavilion Bridge app: radius 24 for the window,
   16 for panels and buttons, pills for chips. 360 × 600, the size of a browser extension popup. */
.wx {
  --wx-card: #1b2b41;
  --wx-raise: #24374f;
  --wx-raise-2: #2d4361;
  --wx-line: rgba(244, 242, 236, .1);
  --wx-line-2: rgba(244, 242, 236, .2);
  --wx-text: #f4f2ec;
  --wx-muted: #aab7c4;
  --wx-faint: #7f90a3;
  --wx-accent: #8db1c1;
  --wx-accent-strong: #b9d2dc;
  --wx-error: #f0a898;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 360px;
  max-width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--wx-card);
  color: var(--wx-text);
  font-family: var(--font-sans, Manrope, system-ui, sans-serif);
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  box-shadow: inset 0 1px 0 rgba(244, 242, 236, .06), 0 40px 90px -40px rgba(27, 43, 65, .7), 0 14px 32px -20px rgba(27, 43, 65, .5);
}
:where(.wx) *, :where(.wx) *::before, :where(.wx) *::after { box-sizing: border-box; }
:where(.wx) :where(p, h2, h3, dl, dd, ol, ul) { margin: 0; }
:where(.wx) :where(ul, ol) { padding: 0; list-style: none; }
:where(.wx) :where(button, input, textarea) { font: inherit; color: inherit; }
:where(.wx) button { cursor: pointer; }
:where(.wx) button:disabled { cursor: not-allowed; }
:where(.wx) a { color: inherit; text-decoration: none; }
:where(.wx) code { font-family: var(--font-mono, ui-monospace, monospace); white-space: normal; }
.wx :focus-visible { outline: 2px solid var(--wx-accent); outline-offset: 2px; }
.wx-i { width: 20px; height: 20px; flex: none; }
.wx-sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wx-app, .wx-screen { display: flex; flex: 1; min-height: 0; flex-direction: column; }

/* ---------- Top bar ---------- */
.wx-top { display: flex; flex: none; align-items: center; gap: 8px; height: 60px; padding: 0 12px; }
.wx-top.is-sub { border-bottom: 1px solid var(--wx-line); }
.wx-title { flex: 1; min-width: 0; font: 600 16px/24px var(--font-sans); letter-spacing: -.01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-title:focus { outline: none; }
.wx-icon { display: inline-grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--wx-muted); transition: background-color .2s, color .2s; }
.wx-icon:hover { background: var(--wx-raise); color: var(--wx-text); }
.wx-icon-gap { width: 36px; flex: none; }
.wx-top-tools { display: flex; gap: 2px; margin-left: auto; }
.wx-acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border: 0; border-radius: 9999px; background: transparent; transition: background-color .2s; }
.wx-acct:hover, .wx-acct[aria-expanded="true"] { background: var(--wx-raise); }
.wx-acct-name { font-weight: 700; font-size: 15px; }
.wx-chev { width: 16px; height: 16px; color: var(--wx-muted); }
.wx-avatar { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wx-text); color: var(--wx-card); }
.wx-mark { width: 17px; height: 17px; }
.wx-avatar.is-xl { width: 64px; height: 64px; margin-bottom: 20px; }
.wx-avatar.is-xl .wx-mark { width: 32px; height: 32px; }

/* ---------- Body ---------- */
.wx-body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 4px 16px 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--wx-raise-2) transparent; }
.wx-body.wx-center { align-items: center; text-align: center; }
.wx-foot { position: sticky; bottom: -16px; display: grid; gap: 4px; width: 100%; margin-top: auto; padding: 16px 0 0; background: linear-gradient(to bottom, rgba(27, 43, 65, 0), var(--wx-card) 14px); }
.wx-muted { color: var(--wx-muted); }
.wx-fine { margin-top: 12px; color: var(--wx-faint); font-size: 12px; line-height: 18px; }
.wx-fine.is-center { text-align: center; }
.wx-empty { margin: auto; color: var(--wx-muted); }

/* ---------- Home ---------- */
.wx-balance { display: grid; justify-items: center; gap: 10px; padding: 18px 0 20px; }
.wx-balance-value { display: flex; align-items: baseline; gap: 8px; font: 600 40px/44px var(--font-sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.wx-ticker { display: block; color: var(--wx-muted); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0; }
.wx-unit { color: var(--wx-muted); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.wx-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border: 1px solid var(--wx-line); border-radius: 9999px; background: transparent; color: var(--wx-muted); font: 500 12px/16px var(--font-mono, monospace); transition: border-color .2s, color .2s; }
.wx-chip:hover { border-color: var(--wx-line-2); color: var(--wx-text); }
.wx-chip .wx-i { width: 14px; height: 14px; }
.wx-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wx-actions button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border: 0; border-radius: 16px; background: var(--wx-raise); font-weight: 600; font-size: 13px; line-height: 16px; transition: background-color .2s, transform .1s; }
.wx-actions button:hover { background: var(--wx-raise-2); }
.wx-actions button:active { transform: scale(.98); }
.wx-action-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wx-text); color: var(--wx-card); }
.wx-action-ico .wx-i { width: 18px; height: 18px; stroke-width: 2.1; }
.wx-section { margin-top: 20px; }
.wx-section-head { display: flex; align-items: center; justify-content: space-between; }
.wx-section-title { margin-bottom: 4px; color: var(--wx-muted); font-size: 13px; line-height: 20px; font-weight: 600; }
.wx-section-title.is-gap { margin-top: 20px; }
.wx-link { padding: 0; border: 0; background: none; color: var(--wx-accent-strong); font-weight: 600; font-size: 13px; line-height: 20px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.wx-link:hover { text-decoration-color: currentColor; }
.wx-link.is-center { display: inline-flex; align-items: center; justify-content: center; gap: 6px; justify-self: center; min-height: 36px; }
.wx-link .wx-i { width: 15px; height: 15px; }
.wx-assets li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--wx-line); }
.wx-assets li:last-child { border-bottom: 0; }
.wx-asset-main, .wx-tx-main, .wx-acct-main, .wx-set-main { display: grid; flex: 1; min-width: 0; }
.wx-asset-main b, .wx-tx-main b, .wx-acct-main b, .wx-set-main b { font-weight: 600; }
.wx-asset-main small, .wx-tx-main small, .wx-acct-main small, .wx-set-main small { color: var(--wx-muted); font-size: 12px; line-height: 16px; }
.wx-asset-end { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Token and chain logos */
.wx-logo { display: inline-grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.wx-logo svg { display: block; }
.wx-logo-pearl { background: #cfe0e7; color: #1b2b41; }
.wx-logo-pearl svg { width: 64%; height: auto; fill: currentColor; transform: translateY(4%); }
.wx-logo-eth { background: #f4f2ec; color: #1b2b41; }
.wx-logo-eth svg { width: 60%; height: 60%; fill: currentColor; }
.wx-logo.is-xs { width: 18px; height: 18px; }
.wx-token { position: relative; display: inline-flex; flex: none; }
.wx-badge { position: absolute; right: -4px; bottom: -3px; display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--wx-card); }
.wx-badge .wx-logo { width: 15px; height: 15px; }

/* Transactions */
.wx-tx { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px; margin-inline: -8px; width: calc(100% + 16px); border: 0; border-radius: 14px; background: transparent; text-align: left; transition: background-color .2s; }
.wx-tx:hover { background: var(--wx-raise); }
.wx-tx-ico { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wx-raise-2); color: var(--wx-text); }
.wx-tx-ico .wx-i { width: 17px; height: 17px; }
.wx-tx-ico.is-in { background: rgba(141, 177, 193, .22); color: var(--wx-accent-strong); }
.wx-tx-end { display: grid; justify-items: end; flex: none; }
.wx-tx-end b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wx-tx-end b.is-in { color: var(--wx-accent-strong); }
.wx-tx-end small { color: var(--wx-muted); font-size: 12px; line-height: 16px; white-space: nowrap; }
.wx-pending { display: inline-flex; align-items: center; gap: 6px; color: var(--wx-accent-strong); }
.wx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wx-accent); animation: wx-pulse 1.6s ease-in-out infinite; }
.wx-txs.is-full li + li { border-top: 1px solid var(--wx-line); }
.wx-txs.is-full .wx-tx { border-radius: 0; }

/* ---------- Send ---------- */
.wx-form { gap: 0; }
.wx-label { display: block; margin: 14px 0 8px; font-weight: 600; font-size: 13px; }
.wx-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wx-avail { color: var(--wx-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.wx-input { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--wx-line); border-radius: 16px; background: var(--wx-raise); color: var(--wx-text); font: 500 13px/20px var(--font-mono, monospace); word-break: break-all; resize: none; transition: border-color .2s; }
.wx-input::placeholder { color: var(--wx-faint); }
.wx-input:focus { border-color: var(--wx-accent); outline: none; }
.wx-input[aria-invalid="true"] { border-color: rgba(240, 168, 152, .6); }
.wx-typo { align-self: flex-start; margin-top: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(240, 168, 152, .08); color: var(--wx-muted); font: 500 12px/18px var(--font-mono, monospace); word-break: break-all; }
.wx-typo mark { padding: 0 2px; border-radius: 3px; background: var(--wx-error); color: var(--wx-card); font-weight: 700; }
.wx-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: var(--wx-muted); font-size: 12px; line-height: 17px; }
.wx-check > .wx-i { width: 16px; height: 16px; margin-top: 1px; }
.wx-check b { display: block; color: var(--wx-text); font-size: 13px; line-height: 18px; }
.wx-check.is-ok > .wx-i { color: var(--wx-accent-strong); stroke-width: 2.4; }
.wx-check.is-error > .wx-i, .wx-check.is-error b { color: var(--wx-error); }
.wx-check.is-warn > .wx-i { color: var(--wx-accent); }
.wx-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.wx-suggest button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--wx-line-2); border-radius: 9999px; background: transparent; font-weight: 600; font-size: 12px; transition: background-color .2s; }
.wx-suggest button:hover { background: var(--wx-raise); }
.wx-suggest small { color: var(--wx-muted); font-weight: 500; }
.wx-amount-box { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border: 1px solid var(--wx-line); border-radius: 16px; background: var(--wx-raise); transition: border-color .2s; }
.wx-amount-box:focus-within { border-color: var(--wx-accent); }
.wx-amount-box.is-error { border-color: rgba(240, 168, 152, .6); }
.wx-amount { flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; color: var(--wx-text); font: 600 26px/40px var(--font-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wx-amount::placeholder { color: var(--wx-faint); }
.wx-amount:focus { outline: none; }
.wx-amount.is-out { color: var(--wx-text); }
.wx-amount-unit { color: var(--wx-muted); font-weight: 600; }
.wx-max { height: 30px; padding: 0 12px; border: 0; border-radius: 9999px; background: var(--wx-raise-2); font-weight: 700; font-size: 12px; transition: background-color .2s; }
.wx-max:hover { background: rgba(244, 242, 236, .16); }
.wx-field-msg { min-height: 18px; margin-top: 8px; color: var(--wx-muted); font-size: 12px; line-height: 18px; }
.wx-field-msg.is-error { color: var(--wx-error); }

/* Buttons */
.wx-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 16px; background: var(--wx-text); color: var(--wx-card); font-weight: 700; font-size: 15px; line-height: 20px; text-align: center; transition: background-color .2s, transform .1s; }
.wx-cta:hover:not(:disabled) { background: #fff; }
.wx-cta:active:not(:disabled) { transform: scale(.995); }
.wx-cta:disabled { background: var(--wx-raise); color: var(--wx-faint); }
.wx-cta .wx-i { width: 18px; height: 18px; }
.wx-cta.is-quiet { border: 1px solid var(--wx-line-2); background: transparent; color: var(--wx-text); }
.wx-cta.is-quiet:hover { background: var(--wx-raise); }

/* ---------- Review and transaction ---------- */
.wx-review-amount { display: grid; justify-items: center; gap: 4px; padding: 18px 0 16px; text-align: center; }
.wx-big { display: flex; align-items: baseline; justify-content: center; gap: 8px; font: 600 34px/40px var(--font-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wx-big.is-md { margin-top: 18px; font-size: 30px; line-height: 36px; }
.wx-rows { display: grid; padding: 4px 14px; border-radius: 16px; background: var(--wx-raise); }
.wx-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wx-line); }
.wx-rows > div:last-child { border-bottom: 0; }
.wx-rows dt { flex: none; color: var(--wx-muted); font-size: 13px; }
.wx-rows dd { min-width: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.wx-rows .is-stack { display: grid; gap: 6px; }
.wx-rows .is-stack dd { text-align: left; }
.wx-rows .is-total dd { font-weight: 700; }
.wx-addr { display: flex; flex-wrap: wrap; gap: 2px 7px; font: 500 13px/20px var(--font-mono, monospace); letter-spacing: .01em; }
.wx-addr.is-center { justify-content: center; max-width: 300px; margin-top: 6px; }
.wx-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 0 2px; color: var(--wx-muted); font-size: 12px; line-height: 18px; }
.wx-note .wx-i { width: 16px; height: 16px; margin-top: 1px; color: var(--wx-accent); }
.wx-sending { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; color: var(--wx-muted); font-weight: 600; }
.wx-spinner { display: inline-block; width: 22px; height: 22px; border: 2.5px solid var(--wx-line-2); border-top-color: var(--wx-accent); border-radius: 50%; animation: wx-spin .9s linear infinite; }
.wx-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; margin-top: 6px; padding: 0 10px; border-radius: 9999px; background: rgba(141, 177, 193, .18); color: var(--wx-accent-strong); font-weight: 600; font-size: 12px; }
.wx-pill .wx-i { width: 14px; height: 14px; stroke-width: 2.4; }
.wx-copy-inline { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 500 12px/18px var(--font-mono, monospace); }
.wx-copy-inline .wx-i { width: 14px; height: 14px; color: var(--wx-muted); }
.wx-copy-inline:hover .wx-i { color: var(--wx-text); }

/* Sent */
.wx-done { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 28px; border-radius: 50%; background: var(--wx-raise); color: var(--wx-accent-strong); }
.wx-done .wx-i { width: 30px; height: 30px; stroke-width: 2.2; }
.wx-done.is-done { background: rgba(141, 177, 193, .2); }
.wx-status-line { max-width: 280px; margin-top: 16px; color: var(--wx-muted); font-size: 13px; line-height: 19px; }

/* ---------- Receive ---------- */
.wx-seg { display: inline-flex; gap: 2px; padding: 3px; margin-top: 12px; border-radius: 9999px; background: var(--wx-raise); }
.wx-seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 8px; border: 0; border-radius: 9999px; background: transparent; color: var(--wx-muted); font-weight: 600; font-size: 13px; transition: background-color .2s, color .2s; }
.wx-seg [aria-selected="true"] { background: var(--wx-raise-2); color: var(--wx-text); }
.wx-qr { width: 184px; margin-top: 20px; padding: 8px; border-radius: 18px; background: #f4f2ec; }
.wx-qr svg { display: block; width: 100%; height: auto; }
.wx-receive-for { margin-top: 14px; font-weight: 600; }
.wx-receive-note { max-width: 290px; margin-top: 10px; color: var(--wx-muted); font-size: 12px; line-height: 18px; }

/* ---------- Bridge ---------- */
.wx-leg { padding: 12px 14px; border-radius: 16px; background: var(--wx-raise); }
.wx-leg:first-child { margin-top: 12px; }
.wx-leg-head { display: flex; align-items: center; gap: 6px; color: var(--wx-muted); font-size: 12px; line-height: 16px; }
.wx-leg-head b { color: var(--wx-text); font-weight: 600; }
.wx-leg-amount { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.wx-leg-foot { margin-top: 2px; color: var(--wx-muted); font-size: 12px; line-height: 16px; }
.wx-leg-foot.is-error { color: var(--wx-error); }
.wx-leg-join { display: grid; place-items: center; width: 32px; height: 32px; margin: -10px auto; position: relative; z-index: 1; border: 3px solid var(--wx-card); border-radius: 12px; background: var(--wx-raise-2); color: var(--wx-muted); }
.wx-leg-join .wx-i { width: 16px; height: 16px; }

/* Crossing */
.wx-cross-sum { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-weight: 600; }
.wx-cross-sum > span { display: inline-flex; align-items: center; gap: 8px; }
.wx-cross-sum .wx-token > .wx-logo { width: 26px; height: 26px; }
.wx-cross-arrow { width: 16px; height: 16px; color: var(--wx-muted); }
.wx-cross-to { margin-top: 6px; font-size: 12px; text-align: center; }
.wx-steps { margin-top: 18px; padding: 14px 14px 4px; border-radius: 16px; background: var(--wx-raise); }
.wx-steps li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.wx-steps li::before { content: ""; position: absolute; left: 10px; top: 26px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--wx-line); }
.wx-steps li:last-child::before { display: none; }
.wx-steps li.is-done::before { background: rgba(141, 177, 193, .55); }
.wx-step-dot { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--wx-line-2); border-radius: 50%; color: var(--wx-card); }
.wx-step-dot .wx-i { width: 13px; height: 13px; stroke-width: 2.8; }
.is-done > .wx-step-dot { border-color: var(--wx-accent); background: var(--wx-accent); }
.is-now > .wx-step-dot { border-color: var(--wx-accent); }
.is-now > .wx-step-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wx-accent); animation: wx-pulse 1.6s ease-in-out infinite; }
.is-now > .wx-step-dot::after { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(141, 177, 193, .25); border-radius: 50%; animation: wx-ring 1.6s ease-out infinite; }
.wx-step-name { font-weight: 600; }
.is-next .wx-step-name { color: var(--wx-muted); }
.wx-step-text { color: var(--wx-muted); font-size: 12px; line-height: 17px; }
.is-next .wx-step-text { color: var(--wx-faint); }

/* ---------- Settings ---------- */
.wx-settings { margin-top: 8px; }
.wx-settings li { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--wx-line); }
.wx-settings li:last-child { border-bottom: 0; }
.wx-set-ico { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--wx-raise); color: var(--wx-accent-strong); }
.wx-set-ico .wx-i { width: 18px; height: 18px; }
.wx-set-end.is-ok { color: var(--wx-accent-strong); }
.wx-switch { position: relative; flex: none; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 9999px; background: var(--wx-raise-2); transition: background-color .2s; }
.wx-switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--wx-muted); transition: transform .2s, background-color .2s; }
.wx-switch[aria-checked="true"] { background: var(--wx-accent); }
.wx-switch[aria-checked="true"] span { background: var(--wx-card); transform: translateX(18px); }
.wx-locked { justify-content: center; padding-top: 40px; }
.wx-locked .wx-title { flex: none; font-size: 22px; line-height: 28px; }
.wx-locked > .wx-muted { max-width: 240px; margin-top: 8px; }

/* ---------- Accounts sheet ---------- */
.wx-scrim { position: absolute; inset: 0; z-index: 4; background: rgba(12, 20, 32, .55); animation: wx-fade .2s ease-out; }
.wx-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 8px 16px 18px; border-radius: 24px 24px 0 0; background: var(--wx-raise); box-shadow: 0 -12px 40px rgba(0, 0, 0, .25); animation: wx-up .24s cubic-bezier(.2, .8, .2, 1); }
.wx-sheet-head { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.wx-sheet-head h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.wx-acct-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 16px; background: transparent; text-align: left; transition: background-color .2s; }
.wx-acct-row:hover { background: var(--wx-raise-2); }
.wx-acct-row[aria-pressed="true"] { background: var(--wx-raise-2); }
.wx-acct-main small { font-family: var(--font-mono, monospace); }
.wx-acct-bal { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wx-acct-check { width: 18px; height: 18px; color: var(--wx-accent-strong); }

/* ---------- Toast ---------- */
.wx-toast-wrap { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 6; display: flex; justify-content: center; pointer-events: none; }
.wx-toast { padding: 8px 14px; border-radius: 9999px; background: var(--wx-text); color: var(--wx-card); font-weight: 600; font-size: 13px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); animation: wx-up .2s ease-out; }

@keyframes wx-spin { to { transform: rotate(360deg); } }
@keyframes wx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes wx-ring { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes wx-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes wx-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wx *, .wx *::before, .wx *::after { animation: none !important; transition: none !important; }
}
