/* Profile tabs that open as their own page: About, Friends, Followers, Following, Achievements (ttc-profile-pages.js). */
.tp-tabs a{height:48px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;border-bottom:2px solid transparent;color:#8FA6AD!important;font-weight:500;font-size:15px}
.tp-tabs a:hover,.tp-tabs button:hover{color:#E8F1F3!important}
.tp-tabs a[aria-current]{color:#E8F1F3!important;font-weight:600;border-bottom-color:#3FD2E8}
.tp-tab-n{font-size:13px;color:#8FA6AD;font-weight:500}
.tpp-wrap{display:flex;flex-direction:column;gap:20px;min-width:0}
.tpp-card{padding:20px}
.tpp-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#ttc-feed-app .tpp-head h2{margin:0 auto 0 0;font-size:20px}
.tpp-find{flex:0 1 240px;height:40px;max-width:none}
.tpp-subtabs{display:flex;gap:4px;margin:14px 0 4px;border-bottom:1px solid #1E2F36}
.tpp-subtabs a{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-bottom:2px solid transparent;color:#8FA6AD!important;font-weight:500;font-size:14px}
.tpp-subtabs a[aria-current]{color:#E8F1F3!important;font-weight:600;border-bottom-color:#3FD2E8}
.tpp-n{font-size:12px;color:#7F979E}
.tpp-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px;margin-top:16px}
.tpp-person{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #1E2F36;border-radius:14px;background:#0E191D;min-width:0}
.tpp-person-who{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:#E8F1F3!important}
.tpp-person-who .tf-av{border-radius:12px}
.tpp-person-who strong{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpp-person-who small{display:block;font-size:13px;color:#8FA6AD;margin-top:2px}
.tpp-person-who>span{min-width:0}
.tpp-person-who:hover strong{text-decoration:underline}
.tpp-person-tools{display:flex;align-items:center;gap:6px;flex:none}
.tpp-more{position:relative}
.tpp-more summary{list-style:none;cursor:pointer;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#B9CCD1}
.tpp-more summary::-webkit-details-marker{display:none}
.tpp-more summary:hover{background:#15242A}
.tpp-more-row{display:flex;justify-content:center;margin-top:14px}
.tpp-more-row:empty{display:none}
.tpp-empty{display:flex;align-items:center;gap:8px;padding:18px 4px;font-size:14px;grid-column:1/-1}
/* About */
.tpp-about-grid{display:grid;grid-template-columns:220px 1fr;gap:20px;margin-top:16px}
.tpp-about-menu{display:flex;flex-direction:column;gap:2px;border-right:1px solid #1E2F36;padding-right:12px}
.tpp-about-menu button{text-align:left;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#B9CCD1!important;font-size:14px!important;font-weight:500}
.tpp-about-menu button:hover{background:#15242A}
.tpp-about-menu button[aria-current]{background:#15242A;color:#3FD2E8!important;font-weight:600}
.tpp-about-body{min-width:0}
#ttc-feed-app .tpp-about-body h3{margin:0;font:700 16px 'Space Grotesk',Inter,sans-serif;color:#E8F1F3}
.tpp-facts{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
.tpp-fact{display:flex;align-items:flex-start;gap:12px;font-size:15px;color:#C9D8DC}
.tpp-fact strong{color:#E8F1F3;font-weight:600}
.tpp-fact small{display:block;font-size:13px;color:#8FA6AD;margin-top:2px}
.tpp-fact-ic{width:36px;height:36px;border-radius:50%;background:#15242A;display:flex;align-items:center;justify-content:center;flex:none;color:#8FA6AD}
.tpp-fact-ic .tf-ic{width:18px;height:18px}
/* Achievements */
.tpp-ach-sum{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:14px 0 8px;font-size:14px;color:#B9CCD1}
.tpp-ach-sum strong{font:700 28px 'Space Grotesk',Inter,sans-serif;color:#E8F1F3}
.tpp-chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 4px}
.tpp-chips .tf-chip[aria-pressed=true]{background:#3FD2E8;color:#062026!important}
.tpp-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px;margin-top:14px}
.tpp-badge{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:14px 10px;border:1px solid #1E2F36;border-radius:14px;background:#0E191D;color:#E8F1F3!important}
.tpp-badge:hover{border-color:#2B4650;background:#111D22}
.tpp-badge strong{font-size:13px;font-weight:600;line-height:1.25}
.tpp-badge small{font-size:12px;color:#8FA6AD}
.tpp-badge-pic{position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center}
.tpp-badge-pic>*:first-child{max-width:64px;max-height:64px}
.tpp-badge-pic img,.tpp-badge-pic svg{width:64px;height:64px;object-fit:contain}
.tpp-badge.locked .tpp-badge-pic>*:first-child{filter:grayscale(1) brightness(.45)}
.tpp-badge.locked strong{color:#8FA6AD}
.tpp-lock{position:absolute;right:-2px;bottom:-2px;width:24px;height:24px;border-radius:50%;background:#15242A;border:1px solid #23363D;display:flex;align-items:center;justify-content:center;color:#8FA6AD}
.tpp-lock .tf-ic{width:13px;height:13px}
.tpp-badge-dlg{border:1px solid #23363D;border-radius:18px;background:#111D22;color:#E8F1F3;padding:28px 24px 22px;width:min(360px,calc(100vw - 32px));text-align:center;font-family:Inter,system-ui,sans-serif}
.tpp-badge-dlg::backdrop{background:#000a}
.tpp-badge-dlg h3{margin:12px 0 6px;font:700 20px 'Space Grotesk',Inter,sans-serif;color:#E8F1F3}
.tpp-badge-dlg p{margin:0;color:#B9CCD1;font-size:14px}
.tpp-badge-dlg .tpp-badge-meta{margin-top:10px;color:#3FD2E8;font-weight:600;font-size:13px}
.tpp-badge-big{display:flex;justify-content:center}
.tpp-badge-big>*{width:120px;height:120px;object-fit:contain}
.tpp-x{position:absolute;top:10px;right:10px}
/* Phone */
.tpp-pbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:8px;padding:10px 12px;background:#0B1418;border-bottom:1px solid #1A2A30}
.tp-back.flat{position:static;background:transparent;box-shadow:none}
.tpp-pbar-who{display:flex;align-items:center;gap:10px;color:#E8F1F3!important;min-width:0}
.tpp-pbar-who strong{display:block;font-size:17px;font-weight:700}
.tpp-pbar-who small{display:block;font-size:12px;color:#8FA6AD}
.tpp-pwrap{display:flex;flex-direction:column;gap:0}
@media(max-width:759px){
  .tpp-pwrap>.tpp-card{border-radius:0;border-width:0;background:none;padding:16px}
  .tpp-head{gap:8px}
  .tpp-find{order:5;flex:1 0 100%}
  .tpp-people{grid-template-columns:1fr;gap:4px;margin-top:10px}
  .tpp-person{border:0;background:none;padding:8px 0}
  .tpp-person-who .tf-av{width:60px!important;height:60px!important}
  .tpp-badges{grid-template-columns:repeat(3,1fr);gap:8px}
  .tpp-badge{padding:12px 6px}
  .tpp-badge-pic,.tpp-badge-pic img,.tpp-badge-pic svg{width:52px;height:52px}
  .tpp-psec{padding:16px;border-bottom:1px solid #1A2A30}
}
