/**
 * Ink-on-paper suits and cards — System 52 SRD
 *
 * Monochrome replacement for the main site's suit-highlight.css and
 * card-notation.css. The shared JS (card-notation.js, suit-styling.js)
 * adds the same classes; only the look changes here: black suits print
 * in ink, red suits in grey, and card notations render as small
 * outlined cards set in the code face.
 */

/* Hide suit symbols in the right sidebar TOC (for any that slip through) */
.md-sidebar--secondary .suit-icon,
.md-nav--secondary .suit-icon {
  display: none;
}

.suit-icon {
  font-variant-emoji: text;
}

.suit-icon.suit-clubs,
.suit-icon.suit-spades {
  color: var(--ledger-ink, #1a1a1a);
}

.suit-icon.suit-diamonds,
.suit-icon.suit-hearts {
  color: var(--ledger-grey, #6f6f6c);
}

/* Card notations like [9♠]: a small card drawn in ink */
.card-notation {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid var(--ledger-ink, #1a1a1a);
  border-radius: 2px;
  padding: 0 0.3em;
  margin: 0 1px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.25;
  white-space: nowrap;
  min-width: 2.1em;
  text-align: center;
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
  font-variant-emoji: text;
}

.card-notation .card-value {
  color: var(--ledger-ink, #1a1a1a);
}

.card-notation .card-suit.suit-clubs,
.card-notation .card-suit.suit-spades {
  color: var(--ledger-ink, #1a1a1a);
}

.card-notation .card-suit.suit-diamonds,
.card-notation .card-suit.suit-hearts {
  color: var(--ledger-grey, #6f6f6c);
}
