/* ============================================================================
   Vouchsafe — design system
   A confidential-compute control room: deep space base, cryptographic accents,
   glass surfaces, purposeful motion. Self-contained, no external fonts/assets.
   ========================================================================== */

:root {
  /* base */
  --bg-0: #060912;
  --bg-1: #0a0f1e;
  --bg-2: #0e1526;
  --surface: rgba(19, 27, 47, 0.72);
  --surface-solid: #111a2f;
  --surface-2: #0b1122;
  --border: #1d2841;
  --border-strong: #2a3960;
  --grid: rgba(93, 124, 255, 0.06);

  /* text */
  --text: #e9edf8;
  --text-dim: #a4b0cf;
  --text-faint: #6b779a;

  /* brand + roles */
  --brand: #6d8bff;
  --brand-2: #9a7bff;
  --tee: #3fd8c6;      /* confidential compute */
  --fdc: #59b6ff;      /* interoperable data */
  --chain: #b79bff;    /* on-chain record */
  --ok: #34d99a;       /* solvent / verified */
  --warn: #f6c667;     /* pending */
  --bad: #ff5c7a;      /* fraud / slash */

  /* effects */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --glow-brand: 0 0 0 1px rgba(109, 139, 255, 0.35), 0 12px 40px -12px rgba(109, 139, 255, 0.45);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(109, 139, 255, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 100% 0%, rgba(154, 123, 255, 0.10), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(63, 216, 198, 0.06), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint dot grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, #000 40%, transparent 85%);
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* keyboard focus — visible in both the light dot-grid and dark surfaces */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }

.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ nav --- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.9), rgba(6, 9, 18, 0.55));
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.brand .mark { width: 26px; height: 26px; filter: drop-shadow(0 2px 8px rgba(109,139,255,0.5)); }
.nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-size: 13.5px; padding: 7px 12px; border-radius: 999px; font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); text-decoration: none; }

/* on narrow screens drop the section anchors, keep brand + live pill (no horizontal overflow) */
@media (max-width: 640px) {
  .nav-links a[href^="#"] { display: none; }
  .nav-inner { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .nav-links { margin-left: auto; gap: 5px; min-width: 0; }
  .brand { font-size: 15px; gap: 7px; }
  .brand .mark { width: 23px; height: 23px; }
  #walletBtn { padding: 7px 10px; }
  #netText { display: none; }
  .net-pill { padding: 8px; }
  .hero { padding: 54px 16px 32px; }
  .hero-cta .btn { width: 100%; }
  .bounty { max-width: 100%; }
  .callout { text-align: left; }
}

.net-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  color: var(--text-dim); padding: 6px 12px; border: 1px solid var(--border-strong);
  border-radius: 999px; background: rgba(52, 217, 154, 0.06); white-space: nowrap;
}
.net-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); box-shadow: 0 0 0 0 rgba(52,217,154,0.5); }
.net-pill.live .net-dot { background: var(--ok); animation: ping 2s var(--ease) infinite; }
.net-pill.down .net-dot { background: var(--bad); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,217,154,0.55);} 70%{ box-shadow: 0 0 0 7px rgba(52,217,154,0);} 100%{box-shadow:0 0 0 0 rgba(52,217,154,0);} }

/* --------------------------------------------------------------- hero --- */
.hero { padding: 74px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600;
  color: var(--brand); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(109,139,255,0.3); border-radius: 999px;
  background: rgba(109,139,255,0.07);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.03; letter-spacing: -0.035em;
  margin: 22px 0 0; font-weight: 800;
  background: linear-gradient(180deg, #ffffff 20%, #b9c4e6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede { max-width: 660px; margin: 20px auto 0; color: var(--text-dim); font-size: clamp(15px, 2.4vw, 18.5px); }
.hero .lede b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.bounties { display: flex; gap: 10px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.bounty {
  font-size: 12.5px; color: var(--text-dim); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
}
.bounty b { color: var(--text); }

/* --------------------------------------------------------- addresses --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px;
  color: var(--text-dim); border: 1px solid var(--border); background: var(--surface-2);
  padding: 6px 10px; border-radius: 999px; transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip .k { color: var(--text-faint); }
.chip .copy { cursor: pointer; opacity: .5; }
.chip .copy:hover { opacity: 1; }

/* ---------------------------------------------------------- sections --- */
section.block { padding: 46px 0; scroll-margin-top: 74px; }
.section-head { margin-bottom: 26px; }
.section-head .kicker { color: var(--brand); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.03em; margin: 8px 0 0; font-weight: 750; }
.section-head p { color: var(--text-dim); margin: 10px 0 0; max-width: 640px; }

/* ------------------------------------------------------------- cards --- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card h3 { margin: 0; font-size: 16.5px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.card .sub { color: var(--text-faint); font-size: 13px; margin: 6px 0 16px; }

/* --------------------------------------------------------- pipeline --- */
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,21,38,0.6), rgba(10,15,30,0.6));
  padding: 8px; position: relative; overflow: hidden;
}
@media (max-width: 820px) { .pipeline { grid-template-columns: 1fr; } }

.stage { position: relative; padding: 18px 16px; text-align: center; transition: transform .35s var(--ease); }
.stage .ic {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 13px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-dim);
  transition: all .4s var(--ease);
}
.stage .ic svg { width: 22px; height: 22px; }
.stage .t { font-weight: 650; font-size: 13.5px; letter-spacing: -0.01em; }
.stage .d { color: var(--text-faint); font-size: 11.5px; margin-top: 4px; min-height: 28px; }
.stage .st {
  margin-top: 10px; font-size: 11px; font-weight: 650; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.stage .st .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* connector line between stages: a single track behind the icon row, filled as stages complete */
.pipeline .track { position: absolute; top: 41px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.pipeline .track .fill { position: absolute; inset: 0 100% 0 0; background: linear-gradient(90deg, var(--tee), var(--fdc), var(--chain)); transition: right .6s var(--ease); border-radius: 2px; }
@media (max-width: 820px) { .pipeline .track { display: none; } .stage { border-bottom: 1px solid var(--border); } .stage:last-child { border-bottom: 0; } }

/* stage role colors */
.stage[data-role="input"] .ic { --c: var(--brand); }
.stage[data-role="tee"] .ic { --c: var(--tee); }
.stage[data-role="fdc"] .ic { --c: var(--fdc); }
.stage[data-role="chain"] .ic { --c: var(--chain); }
.stage[data-role="accord"] .ic { --c: var(--ok); }

.stage.active .ic {
  color: var(--c); border-color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent), 0 10px 30px -8px var(--c);
  transform: translateY(-2px) scale(1.04);
}
.stage.active .st { color: var(--c); }
.stage.active .st .dot { animation: pulse 1.1s var(--ease) infinite; }
.stage.done .ic { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 60%, var(--border-strong)); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.stage.done .st { color: var(--ok); }
.stage.failed .ic { color: var(--bad); border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.stage.failed .st { color: var(--bad); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* -------------------------------------------------------- form bits --- */
label { display: block; font-size: 12px; color: var(--text-dim); margin: 14px 0 6px; font-weight: 550; }
label .hintk { color: var(--text-faint); font-weight: 400; }
input[type="text"], input:not([type]) {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font-size: 14px; font-family: var(--mono);
  transition: border-color .2s, box-shadow .2s;
}
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,139,255,0.18); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 650; font-size: 14px; font-family: var(--sans); letter-spacing: -0.01em;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--glow-brand); transition: transform .15s var(--ease), filter .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: default; transform: none; filter: none; }
.btn.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,0.04); }
.btn.danger { background: linear-gradient(135deg, #ff5c7a, #d13d63); box-shadow: 0 12px 40px -12px rgba(255,92,122,0.5); }
.btn.sm { padding: 8px 13px; font-size: 12.5px; }
.btn .spin { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* --------------------------------------------------- privacy ledger --- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .ledger { grid-template-columns: 1fr; } }
.ledger .col { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; background: var(--surface-2); }
.ledger .col.on { border-color: color-mix(in srgb, var(--chain) 45%, var(--border)); }
.ledger .col.off { border-color: color-mix(in srgb, var(--tee) 45%, var(--border)); }
.ledger .col h4 { margin: 0 0 4px; font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; display:flex; align-items:center; gap:7px; }
.ledger .col.on h4 { color: var(--chain); }
.ledger .col.off h4 { color: var(--tee); }
.ledger .col .note { color: var(--text-faint); font-size: 11.5px; margin: 0 0 10px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 12.5px; }
.kv:first-of-type { border-top: 0; }
.kv .k { color: var(--text-dim); }
.kv .v { font-family: var(--mono); color: var(--text); text-align: right; word-break: break-all; }
.kv .v.hash { color: var(--brand); }
.kv .v.hash[data-full] { cursor: pointer; }
.kv .v.hash[data-full]:hover { text-decoration: underline; text-underline-offset: 3px; }
.kv .v.secret { color: var(--tee); letter-spacing: 1px; }

/* ------------------------------------------------------------ console --- */
.console {
  font-family: var(--mono); font-size: 12.5px; background: #05070f; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px; max-height: 260px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-word; color: var(--text-dim);
}
.console .ln { padding: 1px 0; display: flex; gap: 8px; }
.console .ln .tk { color: var(--text-faint); flex-shrink: 0; }
.console .ln.ok { color: var(--ok); }
.console .ln.info { color: var(--text-dim); }
.console .ln.step { color: var(--brand); }
.console .ln.err { color: var(--bad); }
.console:empty::before { content: "› idle — awaiting action"; color: var(--text-faint); }

/* ------------------------------------------------------------- result --- */
.result { margin-top: 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; display: none; }
.result.show { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }
.result .bar { padding: 12px 16px; font-weight: 650; font-size: 13.5px; display: flex; align-items: center; gap: 9px; }
.result.good .bar { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.result.bad .bar { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.result .body { padding: 14px 16px; background: var(--surface-2); }

/* verdict card (verify) */
.verdict { text-align: center; padding: 26px 18px; }
.verdict .big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.verdict.solvent .big { color: var(--ok); }
.verdict.revoked .big { color: var(--bad); }
.verdict .t { color: var(--text-dim); font-size: 13px; margin-top: 4px; }

/* stake / accountability meter */
.meter { margin-top: 4px; }
.meter .track2 { height: 30px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; position: relative; }
.meter .bar2 { height: 100%; width: 100%; background: linear-gradient(90deg, var(--ok), #26b981); transition: width 1.2s var(--ease); }
.meter.slashed .bar2 { background: linear-gradient(90deg, var(--bad), #c23554); }
.meter .lbls { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-top: 8px; font-family: var(--mono); }

/* -------------------------------------------------------------- misc --- */
.tag { display: inline-block; font-size: 10.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.tag.private { background: color-mix(in srgb, var(--tee) 16%, transparent); color: var(--tee); }
.tag.interop { background: color-mix(in srgb, var(--fdc) 16%, transparent); color: var(--fdc); }
.tag.account { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.tag.chain { background: color-mix(in srgb, var(--chain) 16%, transparent); color: var(--chain); }

.mono { font-family: var(--mono); }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.hashline { font-family: var(--mono); font-size: 12px; color: var(--brand); word-break: break-all; }
.copybtn { cursor: pointer; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-dim); border-radius: 7px; padding: 3px 8px; font-size: 11px; margin-left: 6px; }
.copybtn:hover { color: var(--text); border-color: var(--brand); }

.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); font-size: 13px; color: var(--text-dim); }
.callout .ic { color: var(--tee); flex-shrink: 0; }
.callout.warn { border-color: color-mix(in srgb, var(--warn) 40%, var(--border)); }
.callout.warn .ic { color: var(--warn); }

.steps { display: grid; gap: 12px; }
.step-row { display: flex; gap: 14px; align-items: flex-start; }
.step-row .n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); }
.step-row .txt b { color: var(--text); }
.step-row .txt { color: var(--text-dim); font-size: 13.5px; }

.footer { border-top: 1px solid var(--border); padding: 34px 0 60px; color: var(--text-faint); font-size: 13px; }
.footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer .stack { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .stack span { border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-family: var(--mono); font-size: 11px; }

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------ judge evidence --- */
.evidence { padding-top: 56px; }
.proof-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--border);
  margin-bottom: 16px;
}
.proof-stats div { background: var(--surface); padding: 20px 14px; text-align: center; }
.proof-stats b { display: block; font-size: 28px; color: var(--text); letter-spacing: -.04em; }
.proof-stats span { display: block; margin-top: 3px; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .055em; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.evidence-card {
  display: flex; gap: 15px; padding: 18px; color: inherit; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.evidence-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }
.evidence-card b { color: var(--text); font-size: 14px; }
.evidence-card p { color: var(--text-dim); font-size: 12.5px; line-height: 1.55; margin: 6px 0 9px; }
.proof-link { color: var(--brand); font-family: var(--mono); font-size: 11px; }
.proof-icon { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 12px; font: 700 11px var(--mono); border: 1px solid; }
.tee-proof { color: var(--tee); background: color-mix(in srgb, var(--tee) 12%, transparent); }
.fdc-proof { color: var(--fdc); background: color-mix(in srgb, var(--fdc) 12%, transparent); }
.xrp-proof { color: var(--chain); background: color-mix(in srgb, var(--chain) 12%, transparent); }
.slash-proof { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }

@media (max-width: 760px) {
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .proof-stats div:last-child { grid-column: span 2; }
  .evidence-grid { grid-template-columns: 1fr; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------- quorum panel + history --- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th {
  text-align: left; padding: 8px 10px; color: var(--text-faint); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 10.5px;
  border-bottom: 1px solid var(--border-strong); white-space: nowrap;
}
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(109, 139, 255, 0.05); }

.badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.03em; border: 1px solid transparent; vertical-align: middle;
}
.badge.ok { color: var(--ok); background: rgba(52, 217, 154, 0.10); border-color: rgba(52, 217, 154, 0.35); }
.badge.warn { color: var(--warn); background: rgba(246, 198, 103, 0.10); border-color: rgba(246, 198, 103, 0.35); }
.badge.bad { color: var(--bad); background: rgba(255, 92, 122, 0.10); border-color: rgba(255, 92, 122, 0.35); }

#walletBtn { white-space: nowrap; }
