/* FS-Portal Modern 1.6.72.1 | scroll progress ONLY.
   No layout/sticky/menu rules are changed. */
#fsp-horizon .fsh-inner::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  bottom: -1px;
  left: 1px;
  right: auto;
  top: auto;
  width: min(calc(100% - 2px), var(--fsp-read-progress, 0%));
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg,
    var(--fsp-user-main, #e5a63a),
    var(--fsp-user-bright, #f5c26d));
  box-shadow: 0 0 9px rgba(var(--fsp-user-main-rgb, 229,166,58), .48);
  opacity: .98;
}
/* On tablet and phone the native 1.6.72 header scrolls away.
   Keep the small indicator visible at the viewport edge; do not
   make the menu sticky or modify its original behavior. */
@media (max-width: 1100px) {
  #fsp-horizon .fsh-inner::before {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    width: var(--fsp-read-progress, 0%);
    max-width: 100vw;
    border-radius: 0;
    height: 3px;
    z-index: 9999;
  }
}
@media (max-width: 782px) {
  body.admin-bar #fsp-horizon .fsh-inner::before { top: 46px; }
}
