/* Loaf V96 — horizontal tab rails: wheel never leaks to page scroll */
.tl93-tabs,
.thumblab-nav-v86,
.editor-topbar,
.workspace-toolbar,
.editor-tools-v2,
.workspace-status{
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}

.tl93-tabs,
.thumblab-nav-v86{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  white-space:nowrap;
  cursor:grab;
  scrollbar-width:none!important;
  max-width:100%;
  min-width:0;
}
.tl93-tabs:active,
.thumblab-nav-v86:active{cursor:grabbing}
.tl93-tabs::-webkit-scrollbar,
.thumblab-nav-v86::-webkit-scrollbar{display:none!important}
.tl93-tabs button,
.thumblab-nav-v86 button{flex:0 0 auto!important;touch-action:manipulation}
.tl93-tabs.is-dragging,
.thumblab-nav-v86.is-dragging{scroll-behavior:auto!important;user-select:none;-webkit-user-select:none}
.tl93-tabs.is-dragging button,
.thumblab-nav-v86.is-dragging button{pointer-events:none}

.tl93-tabs-wrap-v94,
.thumblab-nav-wrap-v94{
  position:relative;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  overscroll-behavior:none!important;
}
.tl93-tabs-wrap-v94::before,
.tl93-tabs-wrap-v94::after,
.thumblab-nav-wrap-v94::before,
.thumblab-nav-wrap-v94::after{
  content:"";position:absolute;top:0;bottom:0;width:18px;z-index:12;pointer-events:none;opacity:0;transition:opacity .18s ease
}
.tl93-tabs-wrap-v94::before,
.thumblab-nav-wrap-v94::before{left:0;background:linear-gradient(90deg,#0b0910,transparent)}
.tl93-tabs-wrap-v94::after,
.thumblab-nav-wrap-v94::after{right:0;background:linear-gradient(270deg,#0b0910,transparent)}
.tl93-tabs-wrap-v94.can-left::before,
.thumblab-nav-wrap-v94.can-left::before,
.tl93-tabs-wrap-v94.can-right::after,
.thumblab-nav-wrap-v94.can-right::after{opacity:1}

@media (max-width:900px){
  .tl93-tabs,.thumblab-nav-v86{scroll-snap-type:x proximity}
  .tl93-tabs button,.thumblab-nav-v86 button{scroll-snap-align:start}
}

/* V97 — taps win over drag on horizontal category rails */
.tl93-tabs,.thumblab-nav-v86{touch-action:pan-x!important}
.tl93-tabs button,.thumblab-nav-v86 button{touch-action:manipulation!important;position:relative;z-index:2}
.tl93-tabs-wrap-v94,.thumblab-nav-wrap-v94{touch-action:pan-x!important}
