/* Command-center skin for the vanilla safe.css surfaces (design spec §6, rollout P3 wave 2).
   Market and Boards are live app/SSR pages whose markup is mirrored server-side (listings.rs /
   board_api.rs byte-pinned cards) — they cannot ride the forge-landing shell without touching that
   contract. This sheet is the same palette bridge the Desk uses (desk shell.css P2): it loads AFTER
   safe.css (+ the page's inline styles) and remaps the legacy vars onto kf tokens, with literal
   fallbacks so a page without kf-tokens.css still renders the command-center palette.
   Scope (P4): every LIVE safe.css content page — market/boards, the docs sub-pages, contracts,
   deposit-index, privacy/terms, recover pages and boards/rules, both locales. Not linked from:
   keyfile-decrypt.html (task-589 stream owns it), desk-legacy.html (retiring escape hatch), the
   operator consoles, and the dead vanilla app routes (create/manage/deal/escrow/listing-new —
   nginx serves the React desk there). */

:root {
  --iron: var(--kf-bg-primary, #070c0f);
  --steel: var(--kf-bg-secondary, #0b1216);
  --plate: var(--kf-bg-elevated, #101a1f);
  --plate-2: var(--kf-bg-input, #0a1115);
  --ingot: var(--kf-text-primary, #f2f7f5);
  --ash: var(--kf-text-secondary, #b7c5c3);
  --ash2: var(--kf-text-muted, #84938f);
  --kaspa: var(--kf-accent-primary, #19d3bd);
  --kaspa-soft: var(--kf-accent-secondary, #63ead8);
  --patina: var(--kf-accent-active, #12b7a4);
  --patina-ink: var(--kf-text-inverse, #06110f);
  --silver: var(--kf-text-secondary, #b7c5c3);
  --silver-dim: var(--kf-text-muted, #84938f);
  --alarm: var(--kf-danger, #ff6b6b);
}

/* Hardcoded old-palette literals that the var remap cannot reach. */
@media (max-width: 760px) {
  /* market.html inline style paints the sticky buy bar with the old iron literal */
  #detail .mk-detail-actions {
    background: rgba(7, 12, 15, .98);
  }
}
