/* 428 (owner: "ทำ scroll bar สวยๆหน่อย ทุกหน้าเลยใช้แบบเดียวกัน"): one scrollbar for every page and every scrolling box —
   a slim rounded teal pill on a clear track, no arrow buttons. Loaded last on every page.
   Chrome/Edge ignore ::-webkit-scrollbar on an element that has scrollbar-width / scrollbar-color, and older page CSS set
   those in many places, so in Chrome they are reset here; places that hide their bar keep their own
   ::-webkit-scrollbar{display:none}. Firefox only knows the simple properties and gets the same colours. */
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto!important;scrollbar-color:auto!important}
  ::-webkit-scrollbar{width:10px!important;height:10px!important;background:transparent!important}
  ::-webkit-scrollbar-track{background:transparent!important;border:0!important;margin:4px!important}
  ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#3fd6c0,#1f8f87) padding-box!important;border:3px solid transparent!important;border-radius:999px!important;min-height:40px;min-width:40px}
  ::-webkit-scrollbar-thumb:horizontal{background:linear-gradient(90deg,#3fd6c0,#1f8f87) padding-box!important}
  ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#7af0dc,#2bb3a8) padding-box!important;border-width:2px!important}
  ::-webkit-scrollbar-thumb:active{background:#9ff7e8 padding-box!important}
  ::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
  ::-webkit-scrollbar-corner{background:transparent!important}
  html[data-theme=light] ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#7fc9bd,#3e9b91) padding-box!important}
  html[data-theme=light] ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#5bb8aa,#2a8278) padding-box!important}
}
@supports not selector(::-webkit-scrollbar){
  :where(html,body,*){scrollbar-width:thin;scrollbar-color:#2fb5a3 transparent}
  :where(html[data-theme=light],html[data-theme=light] *){scrollbar-color:#5bb8aa transparent}
}
