/* profile-tabs-swipe (2026-10-16): designed scroll arrows + touch swipe for profile tab strip, tablet & mobile only */
.pts-arrow { display: none; }
@media (max-width: 1199.98px) {
  .profile-unified-left.pts-host { position: relative !important; }
  .profile-unified-buttons.pts-overflow {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none !important;
    overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }
  .pts-host.pts-at-start .profile-unified-buttons.pts-overflow {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .pts-host.pts-at-end .profile-unified-buttons.pts-overflow {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 100%);
  }
  .profile-unified-buttons.pts-overflow::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
  .profile-unified-buttons.pts-overflow .profile-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: center;
  }
  .pts-host.pts-has-overflow .pts-arrow {
    display: inline-flex;
    position: absolute;
    z-index: 8;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    color: #4f46e5;
    font-size: 0.85rem;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.18), 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .pts-host .pts-arrow-left { left: 4px; }
  .pts-host .pts-arrow-right { right: 4px; }
  .pts-host .pts-arrow:active { transform: scale(0.9); box-shadow: 0 3px 8px rgba(79, 70, 229, 0.22); }
  .pts-host .pts-arrow:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
  .pts-host .pts-arrow:disabled { opacity: .38; cursor: default; box-shadow: none; transform: none; }
  .profile-unified-right.pts-swipe-anim { animation: ptsSwipeIn 0.22s ease; }
  .profile-unified-right.pts-swipe-anim-rev { animation: ptsSwipeInRev 0.22s ease; }
}
@keyframes ptsSwipeIn { from { opacity: 0.4; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes ptsSwipeInRev { from { opacity: 0.4; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .profile-unified-right.pts-swipe-anim, .profile-unified-right.pts-swipe-anim-rev { animation: none; }
  .profile-unified-buttons.pts-overflow { scroll-behavior: auto; }
}
/* 2026-10-16 r2: always-visible arrows (tablet/phone) + styled panel scrollbar */
@media (max-width: 1199.98px) {
  html:not(#pts-a):not(#pts-b):not(#pts-c):not(#pts-d) body #content .profile-card-unified .profile-panel-scroll {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(99, 102, 241, .55) transparent !important;
  }
  html:not(#pts-a):not(#pts-b):not(#pts-c):not(#pts-d) body #content .profile-card-unified .profile-panel-scroll::-webkit-scrollbar {
    display: block !important; width: 5px !important; height: 5px !important; background: transparent !important;
  }
  html:not(#pts-a):not(#pts-b):not(#pts-c):not(#pts-d) body #content .profile-card-unified .profile-panel-scroll::-webkit-scrollbar-thumb {
    display: block !important; border-radius: 999px !important;
    background: linear-gradient(180deg, #818cf8, #8b5cf6) !important;
  }
  html:not(#pts-a):not(#pts-b):not(#pts-c):not(#pts-d) body #content .profile-card-unified .profile-panel-scroll::-webkit-scrollbar-track { background: rgba(99,102,241,.08) !important; border-radius: 999px; }
}

/* 2026-10-16 r3: arrows removed */
.pts-arrow, .pts-host .pts-arrow, .pts-host.pts-has-overflow .pts-arrow { display: none !important; }
@media (max-width: 1199.98px) {
  html body .profile-card-unified .profile-unified-right, html body .profile-card-unified .profile-panel-scroll { touch-action: pan-y pinch-zoom; }
}
