/* s1ber Profil sekmeleri (s1-profile.v1.js): tab bar under the profile header; sections of other tabs are hidden. */
.s1pt-bar{display:flex;gap:6px;margin:0 0 16px;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow-x:auto;scrollbar-width:none}
.s1pt-bar::-webkit-scrollbar{display:none}
.s1pt-tab{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 16px;border:1px solid transparent;border-radius:8px;background:none;color:var(--muted);font:600 14px var(--sans);cursor:pointer;white-space:nowrap}
.s1pt-tab:hover{color:var(--text);background:var(--panel-2)}
.s1pt-tab[aria-selected=true]{color:var(--text);background:var(--panel-2);border-color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.s1pt-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.page.profile[data-s1pt-on=profil] [data-s1pt]:not([data-s1pt=profil]),
.page.profile[data-s1pt-on=uyelik] [data-s1pt]:not([data-s1pt=uyelik]),
.page.profile[data-s1pt-on=takim] [data-s1pt]:not([data-s1pt=takim]),
.page.profile[data-s1pt-on=guvenlik] [data-s1pt]:not([data-s1pt=guvenlik]){display:none!important}
/* a tab with few panels: let each one use the full width instead of a half-empty two-column grid */
.page.profile[data-s1pt-on=guvenlik] .profile-grid>*,.page.profile[data-s1pt-on=profil] .profile-grid>details:first-child{grid-column:1/-1}
.page.profile[data-s1pt-on=uyelik] .profile-grid:not(:has(>[data-s1pt=uyelik])),.page.profile[data-s1pt-on=takim] .profile-grid:not(:has(>[data-s1pt=takim])){display:none}
.page.profile [data-s1pt]{margin-bottom:16px}
.page.profile .profile-grid>[data-s1pt]{margin-bottom:0}
/* buttons on the profile cards read as buttons (the app's ghost style is near-invisible on dark panels) */
.page.profile .card .btn-ghost{color:var(--text);background:var(--panel-2);border-color:var(--line-2)}
.page.profile .card .btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.page.profile .card .btn-ghost.s1g-danger,.page.profile .card .btn-ghost.s1a-danger{color:#f87171}
@media (max-width:640px){.s1pt-bar{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.s1pt-tab{padding:0 10px;font-size:13px}}
