/* SFM profile look v4 (2026-11-25, Kim): Forums member profile in the same small style as the Network profile -
   no cover, small round photo, one small counts line, small buttons, small website link, white tabs with red underline,
   card left / posts right on PC. Loaded by template modification sra_pp_look_v4 (add-on SRA/ProProfiles). */
html.template-member_view{--v4-red:#cb2026;--v4-mut:#65676b;--v4-ink:#050505;--v4-line:#e4e6eb;--v4-soft:#f0f2f5}

/* header: no cover */
html.template-member_view .memberHeader .memberProfileBanner{background-image:none!important;background-color:#fff!important;min-height:0!important}
html.template-member_view .memberHeader .memberProfileBanner:before,
html.template-member_view .memberHeader .memberProfileBanner:after{display:none!important}
html.template-member_view .memberHeader-main{background:#fff!important;padding:0!important;border:0!important}
html.template-member_view .memberHeader-mainContent{display:flex!important;align-items:flex-start!important;gap:18px!important;padding:18px 20px 6px!important;min-height:0!important;background:none!important}
html.template-member_view .memberHeader-avatar{position:static!important;margin:0!important;padding:0!important;flex:none!important;transform:none!important}
html.template-member_view .memberHeader-avatar .avatarWrapper,
html.template-member_view .memberHeader-avatar .avatar{width:112px!important;height:112px!important;border:1px solid var(--v4-line)!important;border-radius:50%!important;box-shadow:none!important;background:#fff!important}
html.template-member_view .memberHeader-avatar .avatar img{width:112px!important;height:112px!important;border-radius:50%!important;object-fit:cover}
html.template-member_view .memberHeader-content--info{padding:2px 0 0!important;margin:0!important;min-width:0;flex:1;color:var(--v4-ink)!important;text-shadow:none!important;background:none!important}
html.template-member_view .memberHeader-name{font-size:22px!important;line-height:1.2!important;font-weight:700!important;margin:0 0 2px!important;text-shadow:none!important}
html.template-member_view .memberHeader-name .username,
html.template-member_view .memberHeader-name .username *{color:var(--v4-ink)!important;text-shadow:none!important}
html.template-member_view .memberHeader-banners{margin:0 0 3px!important}
html.template-member_view .memberHeader-banners .userBanner{font-size:11px!important;padding:1px 6px!important;line-height:1.5!important}
html.template-member_view .memberHeader-blurb{font-size:13px!important;line-height:1.5!important;color:var(--v4-mut)!important;text-shadow:none!important;margin:0!important}
html.template-member_view .memberHeader-blurb *{color:inherit!important;text-shadow:none!important}
html.template-member_view .memberHeader-blurb .pairs--inline dt,html.template-member_view .memberHeader-blurb .pairs--inline dd{font-size:13px!important}

/* counts: one small line like "3,685 messages · 458 reactions" (no big tiles, no trophy points) */
html.template-member_view .memberHeader>.memberHeader-content{padding:0 20px 14px 150px!important;border:0!important;background:#fff!important}
html.template-member_view .memberHeader-stats{margin:0!important;padding:0!important;border:0!important}
html.template-member_view .memberHeader-stats .pairJustifier{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:0 12px!important;margin:0!important}
html.template-member_view .memberHeader-stats dl.pairs{display:inline-flex!important;flex-direction:row-reverse!important;align-items:baseline!important;gap:4px!important;margin:0!important;padding:0!important;text-align:left!important;min-width:0!important;border:0!important}
html.template-member_view .memberHeader-stats dl.pairs dt{font-size:13px!important;text-transform:lowercase!important;color:var(--v4-mut)!important;font-weight:400!important;margin:0!important;letter-spacing:0!important}
html.template-member_view .memberHeader-stats dl.pairs dd{font-size:13px!important;font-weight:600!important;color:var(--v4-ink)!important;margin:0!important}
html.template-member_view .memberHeader-stats dl.pairs dd a{color:var(--v4-ink)!important}
html.template-member_view .memberHeader-stats dl.pairs:has(a[href$="/trophies"]){display:none!important}
html.template-member_view .memberHeader-separator{display:none!important}

/* buttons: small, one red, the rest grey */
html.template-member_view .memberHeader-buttons{margin:8px 0 0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:6px}
html.template-member_view .memberHeader-buttons .buttonGroup{display:flex!important;flex-wrap:wrap;gap:6px;margin:0!important}
html.template-member_view .memberHeader-buttons .button,
html.template-member_view .memberHeader-buttons a.button,
html.template-member_view .v4-gbtn{height:30px!important;min-height:0!important;padding:0 11px!important;border-radius:6px!important;font-size:13px!important;font-weight:600!important;line-height:30px!important;background:#e4e6eb!important;color:var(--v4-ink)!important;border:0!important;box-shadow:none!important;display:inline-flex!important;align-items:center;gap:5px;text-decoration:none!important}
html.template-member_view .memberHeader-buttons .buttonGroup-buttonWrapper{margin:0!important;border:0!important}
html.template-member_view .memberHeader-buttons .button[data-sk-follow],
html.template-member_view .memberHeader-buttons .button.v4-first,
html.template-member_view .v4-gbtn.v4-red{background:var(--v4-red)!important;color:#fff!important}
html.template-member_view .memberHeader-buttons .button .button-text{color:inherit!important}

/* profile card (SRA Pro Profiles): small text, small website link instead of the big black button */
html.template-member_view .sfmPq{font-size:13px!important;line-height:1.45!important;color:var(--v4-ink)!important}
html.template-member_view .sfmPq .sfmPq-roles{font-size:15px!important;font-weight:700!important;margin:0 0 6px!important}
html.template-member_view .sfmPq .sfmPq-facts{margin:0 0 6px!important;padding:0!important}
html.template-member_view .sfmPq .sfmPq-facts li{font-size:13px!important;color:var(--v4-ink)!important;padding:3px 0!important;margin:0!important;display:flex;gap:8px;align-items:center}
html.template-member_view .sfmPq .sfmPq-facts li i{color:var(--v4-mut)!important;width:16px;text-align:center;font-size:13px!important}
html.template-member_view .sfmPq .sfmPq-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px!important;margin:4px 0 8px!important}
html.template-member_view .sfmPq .sfmPq-web{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;background:none!important;color:var(--v4-red)!important;padding:0!important;min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:auto!important;font-size:13px!important}
html.template-member_view .sfmPq .sfmPq-webLabel{display:none!important}
html.template-member_view .sfmPq .sfmPq-webHost{display:inline!important;font-size:13px!important;color:var(--v4-red)!important;opacity:1!important;font-weight:400!important}
html.template-member_view .sfmPq .sfmPq-web:before{content:"";width:14px;height:14px;flex:none;background:var(--v4-mut);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E") center/contain no-repeat}
html.template-member_view .sfmPq .sfmPq-icons{display:inline-flex!important;gap:4px!important}
html.template-member_view .sfmPq .sfmPq-ic{width:26px!important;height:26px!important;min-width:0!important;border-radius:50%!important;font-size:12px!important;display:inline-flex!important;align-items:center;justify-content:center;background:var(--v4-soft)!important;border:0!important;color:var(--v4-ink)!important}
html.template-member_view .sfmPq .sfmPq-ic svg,html.template-member_view .sfmPq .sfmPq-ic i{width:12px!important;height:12px!important;font-size:12px!important}
html.template-member_view .sfmPq .sfmPq-bio{font-size:13px!important;color:var(--v4-ink)!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.template-member_view .sfmPq [class*="Btn"],html.template-member_view .sfmPq .sfmPq-imdb{min-height:0!important;height:28px!important;padding:0 10px!important;font-size:12px!important;border-radius:6px!important}

/* tabs: white, grey text, red underline (Facebook) */
html.template-member_view .block-tabHeader--memberTabs{background:#fff!important;border-bottom:1px solid var(--v4-line)!important;border-top:0!important;padding:0 8px!important}
html.template-member_view .block-tabHeader--memberTabs .tabs-tab{color:var(--v4-mut)!important;font-size:14px!important;font-weight:600!important;padding:11px 12px 9px!important;border-bottom:3px solid transparent!important;background:none!important}
html.template-member_view .block-tabHeader--memberTabs .tabs-tab.is-active{color:var(--v4-red)!important;border-bottom-color:var(--v4-red)!important}
html.template-member_view .block-tabHeader--memberTabs .tabs-tab:hover{background:var(--v4-soft)!important}

/* PC: card in a narrow left column, tabs + posts on the right (script builds .v4-cols) */
@media (min-width:900px){
  html.template-member_view .v4-cols{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start;margin-top:12px}
  html.template-member_view .v4-left .sfmPq{background:#fff;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.08);padding:12px 14px!important;margin:0!important;border:0!important}
  html.template-member_view .v4-right{min-width:0}
  html.template-member_view .v4-right>.block-tabHeader{border-radius:8px 8px 0 0}
}
@media (max-width:899px){
  html.template-member_view .v4-left .sfmPq{background:#fff;padding:12px 14px!important;margin:0 0 10px!important}
}

/* trophies (About tab): small rows, not big numbers */
html.template-member_view .block-body .contentRow-figure--fixedSmall,
html.template-member_view .memberTrophyList .contentRow-figure{font-size:13px!important;width:28px!important}
html.template-member_view .memberTrophyList .contentRow-title,html.template-member_view .block-row .contentRow-header{font-size:14px!important}

/* phone */
@media (max-width:650px){
  html.template-member_view .memberHeader-mainContent{gap:14px!important;padding:14px 14px 4px!important}
  html.template-member_view .memberHeader-avatar .avatarWrapper,
  html.template-member_view .memberHeader-avatar .avatar,
  html.template-member_view .memberHeader-avatar .avatar img{width:76px!important;height:76px!important}
  html.template-member_view .memberHeader-name{font-size:19px!important}
  html.template-member_view .memberHeader>.memberHeader-content{padding:0 14px 12px 104px!important}
  html.template-member_view .block-tabHeader--memberTabs .tabs-tab{padding:11px 8px 9px!important;font-size:13px!important}
}
html.template-member_view .memberHeader-blurbContainer{background:none!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
html.template-member_view .memberHeader-blurbContainer .memberHeader-blurb{background:none!important;padding:0!important}
html.template-member_view .memberHeader .userTitle,html.template-member_view .memberHeader-blurb .userTitle{color:var(--v4-mut)!important;text-shadow:none!important;font-size:13px!important}
html.template-member_view .sfmPq .sfmPq-actions{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important}
html.template-member_view .sfmPq .sfmPq-web{margin:0!important;flex:none!important;justify-content:flex-start!important}

/* v5 About page (LinkedIn style) */
html.template-member_view .block-tabHeader--memberTabs .hScroller-scroll{display:flex!important}
html.template-member_view .block-tabHeader--memberTabs .tabs-tab#about{order:-1}
html.template-member_view .block-tabHeader--memberTabs .tabs-tab[aria-controls="latest-activity"]{order:9}
html.template-member_view .js-memberTabPanes .v5-hide,html.template-member_view .js-memberTabPanes .v5-dupe{display:none!important}
html.template-member_view .js-memberTabPanes .block-row{font-size:13px!important}
html.template-member_view .js-memberTabPanes .block-textHeader{font-size:15px!important;font-weight:700!important;color:var(--v4-ink)!important;margin:0 0 8px!important;border:0!important;padding:0!important}
html.template-member_view .v5-faces .listHeap{display:flex!important;flex-wrap:wrap;gap:4px}
html.template-member_view .v5-faces .listHeap>li{margin:0!important}
html.template-member_view .v5-faces .avatar{width:32px!important;height:32px!important;font-size:14px!important}
html.template-member_view .v5-faces .avatar img{width:32px!important;height:32px!important}
html.template-member_view .v5-faces a{font-size:12px!important}
html.template-member_view .v5-trophies .contentRow{padding:4px 0!important;align-items:center}
html.template-member_view .v5-trophies .contentRow-figure{font-size:13px!important;font-weight:700!important;width:28px!important;min-width:28px!important;color:var(--v4-red)!important}
html.template-member_view .v5-trophies .contentRow-header,html.template-member_view .v5-trophies h2,html.template-member_view .v5-trophies h3{font-size:13px!important;font-weight:600!important;margin:0!important}
html.template-member_view .v5-trophies .contentRow-minor,html.template-member_view .v5-trophies .contentRow-snippet,html.template-member_view .v5-trophies time{font-size:12px!important;color:var(--v4-mut)!important}
html.template-member_view .v5-trophies li:nth-child(n+4){display:none!important}
html.template-member_view .v5-posts .v5-list{list-style:none;margin:0;padding:0}
html.template-member_view .v5-posts .v5-list>li{padding:8px 0;border-top:1px solid var(--v4-line);font-size:13px}
html.template-member_view .v5-posts .v5-list>li:first-child{border-top:0;padding-top:0}
html.template-member_view .v5-posts .contentRow-title{font-size:14px!important;font-weight:600!important}
html.template-member_view .v5-posts .contentRow-snippet{font-size:13px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.template-member_view .v5-posts .contentRow-minor{font-size:12px!important;color:var(--v4-mut)!important}
html.template-member_view .v5-posts .avatar{width:32px!important;height:32px!important}
html.template-member_view .v5-posts .v5-all{display:inline-block;margin-top:6px;font-size:12px;font-weight:600;color:var(--v4-red)!important}
