/* Fiat Token overrides on top of the mempool frontend, linked last from index.html. */

/* Header logo: keep mempool's element for its size, paint ours over it. */
app-svg-images.mempool-logo {
  display: inline-block;
  background: url(/resources/ft/logo.svg) no-repeat left center / contain;
}
app-svg-images.mempool-logo svg {
  visibility: hidden;
}

/* "This is a test network. Coins have no value." */
app-testnet-alert {
  display: none;
}

/* Fiat conversions: there is no FT price feed, so they always read $0.00. */
app-fiat {
  display: none;
}

/* mempool's footer: its logo, links to mempool.space, social accounts, BTC/sats selector. */
app-global-footer {
  display: none;
}

/* Fee rates: sat/vB has no FT counterpart (one unit is 0.00000001 FT), so they are
   hidden together with the cells, rows and panels that show only a fee rate. Fees
   themselves stay, converted to FT by ft.js. */
.bitcoin-block .fees,
.bitcoin-block .fee-span,
.latest-transactions .table-cell-fees,
.summary app-fee-rate,
.mempool-info-data .item:has(app-fee-rate),
.box table tr:has(> td > app-fee-rate),
.card-wrapper:has(app-fees-box) {
  display: none !important;
}

/* Block producer badge (renamed by ft.js): no mining pool page behind it. */
a.badge[href$="/mining/pool/unknown"] {
  pointer-events: none;
}
