/* RoiKib v3.9 — stable scrolling in Discuz viewthread.
   Loaded after v3.8's fixed author/message column sizing. */

/* Do not allow scripts/plugins to take the sidebar out of the post table.
   Author details and moderator links remain visible in their native cell. */
body.rk-v3.pg_viewthread #postlist .pls .favatar {
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  float:none!important;
}

/* Smooth scroll combined with Discuz's dynamic post DOM can make reading
   appear to bounce during wheel/Page Down navigation. Scope to threads. */
html:has(body.rk-v3.pg_viewthread) {
  scroll-behavior:auto!important;
}


/* RoiKib — Restore Original Pinned Thread Colors */

body.rk-v3 img[src*="pin_"] {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}


/* RoiKib — Hide sticky thread labels */
body.rk-v3 .tbox.tdigest {
    display: none !important;
}
