/* fx7.css (kaspa-fx71115): one blue language, no gradient-text or capsule pills,
   deeper-section toys, typography consistency. */

/* --- Visual QA: strip leftover generic tells --- */
/* j1116: the wordmark keeps its slow color flow on every page (site.css wmflow), as on the Crypto path. */
.rn-h1 span,
.rn-h1 .hl-l,
.rn-h1 .hl-melt .hl-l {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
}

/* Capsule pills become block-shaped rounded rects, one blue. */
.btn, .switch button, .tour-go, .tour-more button, .chapnav select,
.icon-btn, .bar-more, .p-badge, .fold-cta, .pmap-all,
.bur-pin, .wait-btns button, .moments-btns button, .cs-btns button,
.sm-btns button, .hb-tabs button, .os-ctl button,
[data-receipt-go], [data-block0-flip], [data-hb-reset], [data-deep-door] {
  border-radius: 12px !important;
}
.tour-go {
  background: var(--fx-blue, #1f5be0) !important;
  box-shadow: none !important;
  color: #fff !important;
}
.tour-more button,
.tour-more button:nth-of-type(1),
.tour-more button:nth-of-type(2),
.tour-more button:nth-of-type(3),
.tour-more button:nth-of-type(4) {
  border-color: color-mix(in oklab, var(--fx-blue, #1f5be0) 40%, var(--line, #ddd)) !important;
  background: var(--card, #fff) !important;
  color: var(--text) !important;
}
footer.site-foot, .site-foot {
  background: var(--bg) !important;
}
.hud div, .hero .cta .btn.secondary {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: var(--card, var(--bg)) !important;
}
.tl-spark-here {
  border-radius: 2px !important;
  width: 8px !important;
  height: 8px !important;
  margin: -4px 0 0 -4px !important;
  background: var(--fx-blue, #1f5be0) !important;
  box-shadow: 0 0 0 2px var(--bg) !important;
}

/* Type and spacing: one measure, one heading rhythm in deeper stops. */
.exact h2, .home-sec > h2, .p5-static h3, .takeaway {
  max-width: 42em;
}
.exact, .exact-note, .pl.big, .home-sec > p, .pz .pl {
  max-width: 42em;
}
.exact h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.takeaway { margin-top: 16px; }
.ch-kicker { color: var(--fx-blue, #1f5be0); }

/* --- Deeper-section language --- */
.fx7-fit {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute, #667);
  font: 600 12.5px/1.35 var(--sans, inherit);
  text-align: left;
  cursor: pointer;
  max-width: 36em;
}
.fx7-fit b { color: var(--text); font-weight: 700; }
.fx7-fit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 6px;
}
.fx7-fit-row i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--fx-blue, #1f5be0);
}

.fx7-collide, .fx7-cov {
  margin: 14px 0 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--fx-blue, #1f5be0) 22%, var(--line, #ddd));
  background: color-mix(in oklab, var(--fx-cyan, #00a2c7) 5%, var(--card, #fff));
  max-width: 42em;
}
.fx7-collide p, .fx7-cov p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.4; }
.fx7-collide .fx7-pair { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; min-height: 44px; }
.fx7-blk {
  width: 28px; height: 28px; border-radius: 5px;
  background: var(--fx-blue, #1f5be0);
  display: block; flex: none;
  transition: opacity .25s ease, transform .25s ease;
}
.fx7-collide.is-keep .fx7-link {
  width: 36px; height: 2px; background: var(--fx-blue, #1f5be0); flex: none;
}
.fx7-collide.is-drop .fx7-blk:last-of-type { opacity: .2; transform: translateY(8px); }
.fx7-cov .fx7-coin {
  width: 28px; height: 28px; border-radius: 5px;
  background: var(--fx-blue, #1f5be0);
  display: inline-block; vertical-align: -6px; margin-right: 8px;
}
.fx7-cov.is-early .fx7-coin { outline: 2px solid var(--text); outline-offset: 2px; }
.fx7-cov.is-ok .fx7-coin { box-shadow: 0 0 0 3px color-mix(in oklab, var(--fx-blue, #1f5be0) 35%, transparent); }

.fx7-ruler {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0;
}
.fx7-ruler button {
  min-height: 40px; padding: 6px 12px; border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--fx-blue, #1f5be0) 30%, var(--line, #ddd));
  background: var(--card, #fff); color: var(--text); cursor: pointer; font: 600 13px/1.3 var(--sans, inherit);
}
.fx7-ruler button b { display: block; font-size: 12px; color: var(--mute, #667); font-weight: 500; }

.fx7-zones {
  position: fixed; right: 8px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 4px;
  padding: 0; border: 0; background: none;
}
.fx7-zones button {
  width: 10px; height: 10px; padding: 0; border: 0;
  border-radius: 2px;
  background: color-mix(in oklab, var(--fx-blue, #1f5be0) 28%, var(--line, #ddd));
  cursor: pointer;
}
.fx7-zones button.is-here { background: var(--fx-blue, #1f5be0); transform: scale(1.15); }
.fx7-zones button.is-seen { background: color-mix(in oklab, var(--fx-blue, #1f5be0) 70%, var(--line, #ddd)); }
.fx7-zones button:focus-visible { outline: 2px solid var(--fx-blue, #1f5be0); outline-offset: 2px; }
@media (max-width: 700px) {
  .fx7-zones { display: none; }
}

.fx7-bluebtn, .fx7-year {
  margin-left: 8px;
}

.logo-mark { cursor: pointer; }
.fx7-why { margin: 8px 8px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .fx7-blk, .fx7-cov .fx7-coin, .fx7-zones button { transition: none; transform: none; }
}
@media print {
  .fx7-zones { display: none; }
}

/* Recolor leftover magenta accents in deeper sections to the one blue. */
.quick-check, a.quick-check, [class*="quick-check"], .qc-plus {
  color: var(--fx-blue, #1f5be0) !important;
}

/* Small badges must not look like pills: 12px on a 22px chip is a capsule. */
.p-badge, .live-dot {
  border-radius: 5px !important;
}
.rn-src, .fx-mq a, .chq .chq-b, .rn-go {
  border-radius: 8px !important;
}
.chq > summary, details.chq > summary, .chq summary {
  color: var(--text) !important;
}
.chq > summary, details.more.trim.chq > summary {
  accent-color: var(--fx-blue, #1f5be0);
}
details.chq > summary::before,
.chq > summary::marker {
  color: var(--fx-blue, #1f5be0) !important;
}
.fx7-fitbar { margin: 8px 0 12px; }

/* Kill the large fx6 page shear. fx8 restores a small, viewport-centred desktop tilt. */
html.fx6-moving #main {
  transform: none !important;
}


/* Piano: one blue language, block-shaped tags, keep black and white keys. */
#piano .pn-wrap {
  background: #1f4fd8 !important;
  box-shadow: none !important;
}
#piano .pn-count {
  background: color-mix(in oklab, var(--fx-blue, #1f5be0) 8%, var(--card, #fff)) !important;
  border-color: color-mix(in oklab, var(--fx-blue, #1f5be0) 28%, var(--line, #ddd)) !important;
  color: var(--text) !important;
}
#piano .pn-clock span {
  background: var(--fx-blue, #1f5be0) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
#piano .pn-tag { border-radius: 6px !important; }
#piano .pn-k.pn-now.wht { background: #c9dcff !important; }
#piano .pn-k.pn-now.blk { background: #1f4fd8 !important; }
#piano .pn-k.pn-next.wht { background: #e8eefc !important; }
#piano .pn-k.pn-next.blk { background: #3a63c4 !important; }
#piano .pn-k.pn-on.wht { background: #8cc4ff !important; }
#piano .pn-k.pn-on.blk { background: #2f7fe0 !important; }

.fx7-zones { display: none !important; pointer-events: none !important; }
