/* STEEL BALL V18 — final geometry corrections. */

/* Desktop header: solid black, not translucent. */
@media (min-width:701px){
  .header{
    background:#090a0d!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/* Mobile footer: fixed to viewport with no artificial blank area below page footer. */
@media (max-width:700px){
  :root{--mobile-footer-h:74px;}
  body{
    padding-bottom:0!important;
    min-height:100%;
  }
  .mobile-bottom-nav{
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    width:100%!important;
    height:var(--mobile-footer-h)!important;
    margin:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
    z-index:9990!important;
  }
  .site-footer{
    margin-bottom:0!important;
  }
  /* Keep the last footer text clear of the fixed app bar without creating a visible block below it. */
  .site-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important;}
}

/* Do not let V17's reader geometry override the restored V16 reader. */
.reader-controls,
.reader-page-spacer{box-sizing:border-box;}

/* Preserve the same reliable loader behavior everywhere, including the restored reader. */
#loader.is-hidden{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
