/* Figures for the "Bitcoin Curves, Public Keys, and the Discrete Log" series.
   The SVGs in _includes/bitcoin-curves/ are generated by
   WIP/bitcoin-curves-series/lab/figures.py and take every color from the
   theme variables, so they follow the dark / railscasts / light switch. */
.post-content .bc-figure { margin: 24px 0; }
.post-content .bc-figure .bc-svg { display: block; width: 100%; height: auto; font-family: "JetBrains Mono", monospace; }
.post-content .bc-figure figcaption { margin-top: .75rem; color: var(--text-secondary); font-size: .875rem; }
.bc-svg text { stroke: none; }
.bc-svg .bc-ink { fill: var(--text-primary); }
.bc-svg .bc-sub { fill: var(--text-secondary); }
.bc-svg .bc-strong { font-weight: 600; }
.bc-svg .bc-fill-ink { fill: var(--text-primary); }
.bc-svg .bc-fill-muted { fill: var(--text-muted); }
.bc-svg .bc-fill-a { fill: var(--accent-blue); }
.bc-svg .bc-fill-b { fill: var(--accent-orange); }
.bc-svg .bc-ring { stroke: var(--bg-primary); stroke-width: 2; }
.bc-svg .bc-frame { fill: none; stroke: var(--border-color); stroke-width: 1; }
.bc-svg .bc-grid { stroke: var(--border-color); stroke-width: 1; }
.bc-svg .bc-mirror { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 2 5; }
.bc-svg .bc-curve { fill: none; stroke: var(--text-primary); stroke-width: 2.5; stroke-linejoin: round; }
.bc-svg .bc-line-a { stroke: var(--accent-blue); stroke-width: 2; }
.bc-svg .bc-line-b { stroke: var(--accent-orange); stroke-width: 2; fill: none; }
.bc-svg .bc-dashed { stroke-dasharray: 5 4; }
.bc-svg .bc-spine { stroke: var(--text-muted); stroke-width: 2; }
.bc-svg .bc-gap { stroke: var(--bg-primary); stroke-width: 4; stroke-dasharray: 4 6; }
.bc-svg .bc-leader { stroke: var(--accent-orange); stroke-width: 1; stroke-dasharray: 2 4; }
.bc-svg .bc-link { stroke: var(--border-color); stroke-width: 2; }
/* Six parts: the shared series bar is laid out for five. */
.curves-series-nav .entropy-series-parts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .curves-series-nav .entropy-series-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
