/* fx17: pulse caption, tight scroll offset, sec units, 14 px floor. */

/* Sit the target just under the opaque header so the previous line
   (including "All of this month's debates") tucks under the bar, not into a gap below it.
   site.css sets html scroll-padding-top: 72px on desktop, which left a gap. */
html {
  scroll-padding-top: calc(var(--bar-h, 64px) - 8px) !important;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: calc(var(--bar-h, 56px) - 8px) !important;
  }
}
#kaspa-vs-now,
#pulse-h,
#whats-next,
#crypto-talk,
#compare,
#fold-one-order,
#ten {
  scroll-margin-top: 0 !important;
}

header.bar,
.bar {
  position: fixed !important;
  background: var(--bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 400;
}

.fx15-pulse-lede,
.fx16-lede,
.fx17-lede {
  margin: 0 0 16px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted, #5b6170); /* h1116: --ink-2 is a background shade, it made these ledes nearly invisible */
}
.fx16-cap b,
.fx16-cap {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.fx16-axis {
  font-size: 12px;
}

/* Phone: no typographic label under 14 px, except the short lane axis. */
@media (max-width: 760px) {
  .fx5-quotes p,
  .fx8-honest,
  .fx14-tmeta,
  .fx14-talk-more,
  .market .quote span,
  .market .quote small,
  .cmp-name small {
    font-size: 14px !important;
  }
  .cmp-n,
  .cmp-lane + .cmp-n {
    font-size: 22px !important;
  }
  .cmp-n small,
  .fx16-src,
  .fx16-cap,
  .p-kick,
  .p-note,
  .p-srcs {
    font-size: 14px !important;
  }
  .fx16-axis,
  .fx16-axis span,
  .rv-axis,
  .d3-hint,
  .cmp-lane .axis {
    font-size: 12px !important;
  }
}

/* One owner for the reading bar: JS sets transform: scaleX(); no transition; one solid color. */
#progress.progress,
.progress,
body:not(.deep-page) .progress,
.deep-page .progress {
  width: 100%;
  height: 3px;
  background: var(--fx-blue, #1f5be0) !important;
  transform-origin: 0 50%;
  transition: none !important;
  will-change: transform;
  border-radius: 0;
}
