/* v1.83 · Gesture feedback: one floating surface, never another nested card. */
.hub-ptr[hidden]{display:none!important}
.hub-ptr{
  position:fixed;z-index:56;pointer-events:none;box-sizing:border-box;
  left:50%;top:calc(env(safe-area-inset-top,0px) + 82px);
  width:max-content;max-width:calc(100vw - 24px);min-height:45px;
  display:flex;align-items:center;gap:10px;padding:9px 14px 9px 9px;
  color:var(--deep,#153c32);background:var(--surface-solid,#fff);
  border:1px solid var(--line,#d4e6dc);border-radius:100px;
  box-shadow:0 10px 32px rgba(4,49,37,.18);
  transform:translate3d(-50%,calc(-16px + (var(--hub-ptr-pull,0) * 20px)),0);
  opacity:calc(.3 + var(--hub-ptr-pull,0) * .7);
  transition:opacity .13s ease,transform .13s ease;
  -webkit-font-smoothing:antialiased;
}
.hub-ptr[data-state="checking"],.hub-ptr[data-state="refreshing"],
.hub-ptr[data-state="offline"],.hub-ptr[data-state="unavailable"],.hub-ptr[data-state="protected"]{
  opacity:1;transform:translate3d(-50%,0,0)
}
.hub-ptr__symbol{
  display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;
  border:1px solid rgba(11,112,80,.17);background:rgba(10,126,86,.11);
  border-radius:50%;color:var(--jade,#0c7558)
}
.hub-ptr__symbol svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease}
.hub-ptr[data-state="armed"] .hub-ptr__symbol svg{transform:rotate(180deg)}
.hub-ptr[data-state="checking"] .hub-ptr__symbol svg,
.hub-ptr[data-state="refreshing"] .hub-ptr__symbol svg{animation:hub-ptr-spin .8s linear infinite}
.hub-ptr__label{font-family:'Bai Jamjuree',sans-serif;font-weight:700;font-size:clamp(11px,calc(12px * var(--hub-font-scale,1)),15px);line-height:1.4;text-align:left}
.hub-ptr[data-state="offline"] .hub-ptr__symbol,
.hub-ptr[data-state="unavailable"] .hub-ptr__symbol,
.hub-ptr[data-state="protected"] .hub-ptr__symbol{background:rgba(179,115,34,.12);color:#ac762a}
:root[data-theme="dark"] .hub-ptr{box-shadow:0 10px 32px rgba(0,0,0,.36)}
@keyframes hub-ptr-spin{to{transform:rotate(360deg)}}
@media(max-width:359px){.hub-ptr{padding:8px 10px 8px 8px;gap:7px}.hub-ptr__label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hub-ptr,.hub-ptr__symbol svg{transition:none!important}.hub-ptr[data-state="checking"] .hub-ptr__symbol svg,.hub-ptr[data-state="refreshing"] .hub-ptr__symbol svg{animation:none}}
/* Prevent browser-native pull refresh competing with the custom gesture when supported.
   Only mobile touch layouts receive this; inner scroll panes keep their own scroll. */
@media(pointer:coarse) and (max-width:900px){html.hub-ptr-capable{overscroll-behavior-y:contain}}
