/* Ghost racing (src/game/ghost.js): the gap to the ghost sits under the race chip in the rule line's type: who the
   ghost is, then the gap, teal while ahead of it and red while behind. (The CLIP button is a plain .opt button.) */

#ghostGap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font:
    400 clamp(11px, 2vmin, 14px) 'Bungee',
    sans-serif;
  letter-spacing: 0.08em;
  color: #9ff5e6;
  text-shadow: 0 2px 4px #000;
  white-space: nowrap;
  pointer-events: none;
}
#ghostGap b {
  font:
    italic 800 clamp(14px, 2.4vmin, 18px) 'Chakra Petch',
    sans-serif;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
#ghostGap.ahead b {
  color: var(--tl);
}
#ghostGap.behind b {
  color: var(--rd);
}
