/* Site-wide Kabotsville disclaimer. CSP-safe: no inline styles.
   Dark text by default so light footers (games, coloring) meet 4.5:1.
   Light text is used only on dark navy footers. */
.foot-disclaimer{
  margin:16px auto 12px;
  max-width:36rem;
  font-size:1.02rem;
  line-height:1.45;
  font-weight:700;
  color:#15173f;
  text-align:center;
  padding:0 16px;
}
/* Dark navy footers: CV pages, disc-only bands, and the main site footer
   (those include an inner .wrap; game/coloring light footers do not). */
.cv-footer .foot-disclaimer,
footer.site-footer.disc-only .foot-disclaimer,
.site-footer:has(> .wrap) .foot-disclaimer{
  color:#e8ebf8;
}
footer.site-footer.disc-only{
  background:#15173f;
  color:#e8ebf8;
  margin-top:24px;
  padding:16px 12px 22px;
  text-align:center;
}
@media (max-width:420px){
  .foot-disclaimer{font-size:1.06rem}
}

/* Storybook readers: the fixed stage covers an in-flow footer on phone.
   Pin a readable bar under the top chrome and make room for it. */
body:has(> header.bar) footer.site-footer.disc-only{
  position:fixed;
  left:0;
  right:0;
  top:calc(var(--bar, 56px) + env(safe-area-inset-top));
  z-index:5;
  margin:0;
  padding:6px 12px 7px;
  background:#15173f;
  color:#e8ebf8;
}
body:has(> header.bar) footer.site-footer.disc-only .foot-disclaimer{
  margin:0 auto;
  padding:0;
  font-size:.9rem;
  line-height:1.3;
  color:#e8ebf8;
  font-weight:700;
  max-width:46rem;
}
body:has(> header.bar){
  --disc-h:3.55em;
}
body:has(> header.bar) .stage{
  top:calc(var(--bar, 56px) + env(safe-area-inset-top) + var(--disc-h));
}
body:has(> header.bar) .count{
  top:calc(var(--bar, 56px) + env(safe-area-inset-top) + var(--disc-h) + 8px);
}
body:has(> header.bar) .nos{
  top:calc(var(--bar, 56px) + env(safe-area-inset-top) + var(--disc-h));
}
