/* One system for the whole social area. Loaded after every other social sheet, so each tab and chip row looks the same
   wherever it appears (Feed, Explore, Clubhouses, a Clubhouse page, You).

   Three levels, and only three:
   1. Section tabs (.sc-nav): where you are.
   2. Page tabs (.sc-tabs, .ssh-tabs): which part of this page.
   3. Chips (.sc-lenses, .sc-chips, .sc-formats, .w-pill): filter what you see.

   The line under a tab takes the colour of what it is about: teal for things you watch and make (Take your shot),
   purple for Clubhouses (Make impact), gold for you (Own it). Chips never carry a colour: the chosen one is solid, the rest are quiet. */

/* Level 1 and 2: text tabs with a 3px line. */
/* Search at the end of the tab row on phones (the top bar gives its Search up there, base.css); the tablet and web layouts keep it in the bar. */
/* 27 Nov 2026: at every width, since the top bar no longer changes on Social. Search, then Create for an adult who can post. */
.sc-sticky:has(> .sc-head-search) { position:sticky; }
.sc-head-search { display:inline-flex; gap:2px; position:absolute; top:3px; right:0; z-index:1; }
.sc .sc-nav:has(+ .sc-head-search) { padding-right:96px; }
.sc-sticky:has(> .nb-back) > .sc-head-search { grid-column:auto; }
/* Section tabs are the same compact chip row as Home, Perform and Pulse (base.css "Section chip row"): left aligned, scrolls
   sideways, a 44px target around a 34px pill, teal for the page you are on. */
.sc .sc-nav { display:flex; justify-content:flex-start; gap:8px; overflow-x:auto; scrollbar-width:none; padding:3px 0; }
.sc .sc-nav::-webkit-scrollbar { display:none; }
.sc .sc-nav a { position:relative; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  min-width:44px; min-height:44px; padding:0 14px; border:0 solid transparent; border-block-width:5px; background-clip:padding-box; border-radius:999px; background-color:var(--shot-chip-off); box-shadow:none;
  font-family:var(--font-body); font-size:13px; font-weight:500; white-space:nowrap; color:var(--shot-text-muted); text-decoration:none; }
.sc .sc-nav a[aria-current] { color:#000; font-weight:700; box-shadow:none; }
.sc .sc-nav a[aria-current] { background-color:var(--shot-teal); }
.sc .sc-tabs:not(.sc-formats) { gap:0; border-bottom:1px solid var(--shot-border); }
.sc .sc-tabs:not(.sc-formats) a,
.sc .ssh-tab { min-height:44px; padding:0 14px; border-radius:0; border-bottom:3px solid transparent; color:var(--shot-text-secondary);
  font-family:var(--font-body); font-size:var(--fs-small,14px); font-weight:700; line-height:1; text-decoration:none; }
.sc .sc-tabs:not(.sc-formats) a[aria-current],
.sc .ssh-tab[aria-current] { color:var(--shot-text); border-bottom-color:var(--shot-teal); }
.sc .ssh-tabs { gap:0; }

/* The colour of the line says what the place is about (page tabs only; the section chips stay teal). */
.sc .sc-tabs[aria-label="Topics"] a[aria-current] { border-bottom-color:var(--accent-purple-text); }
.sc .sc-tabs.sc-you-tabs:not(.sc-formats) a[aria-current] { border-bottom-color:var(--shot-gold); }

/* Level 3: one chip. Quiet until chosen, then solid. */
.sc :is(.sc-lenses,.sc-chips,.sc-tabs.sc-formats,.w-pills) { gap:6px; border-bottom:0; }
.sc :is(.sc-lenses a,.sc-chips a,.sc-tabs.sc-formats a,.w-pill,.ssh-filter summary) { flex:0 0 auto; display:inline-flex; align-items:center;
  min-height:44px; padding:0 14px; border:0; border-radius:999px; background:var(--shot-surface); color:var(--shot-text-secondary);
  font-family:var(--font-body); font-size:var(--fs-small,14px); font-weight:700; line-height:1; text-decoration:none; white-space:nowrap; }
.sc :is(.sc-lenses a,.sc-chips a,.sc-tabs.sc-formats a,.w-pill):is([aria-current],[aria-pressed="true"]) { border:0; background:var(--shot-text); color:var(--shot-background); }
.sc :is(.sc-lenses a,.sc-chips a,.sc-tabs.sc-formats a,.w-pill):focus-visible { outline-offset:-3px; }

/* Every row under the section tabs is the same width as the tabs, on every tab. */
.sc .sc-context,.sc .sc-context-watch { width:100%; max-width:720px; margin-inline:auto; padding:6px 0; }

/* On phones the chip row runs to the screen edge on every tab, not only Feed. */
@media (max-width:767px) {
  .sc-sticky .sc-context { width:auto; max-width:none; margin-inline:calc(-1 * var(--s3,12px)); }
  .sc-sticky :is(.sc-lenses,.sc-chips) { padding-inline:var(--s3,12px); scroll-padding-inline:var(--s3,12px); }
}

/* You is your picture in the top bar. While you are on You it wears the gold ring (gold is people: Own it). */
body:has(#main .sc-you-tabs) #topbar a[aria-label="Profile"] .avatar { box-shadow:0 0 0 2px var(--shot-background),0 0 0 4px var(--shot-gold); }

/* People are gold wherever they appear (Own it): the ring round a person's picture on a post, and the actions that belong to a person
   (Follow, Become a fan, Edit profile). Purple stays with the Clubhouse name beside them. */
.sc .sc-post-top .sc-avatar:has(img) { background:transparent; box-shadow:0 0 0 2px var(--shot-gold); }
/* A person without a picture is gold as well, never purple (purple is Clubhouses and threads). */
.sc .sc-post-top .sc-avatar.purple:not(:has(img)) { background:var(--shot-gold); color:#111; }
.sc .sc-post-top .sc-action[data-act="social:person"] { color:var(--shot-gold); }
.sc :is(.sc-you-actions,.sc-brand,.sc-profile) .w-btn--primary-teal { background:var(--shot-gold); color:#000; box-shadow:none; }

/* Profile numbers sit on one line, with their labels on one line below, whatever the label length. */
.sc .sc-brand-stats > div { display:grid; grid-template-rows:44px auto; justify-items:center; align-items:center; gap:0; }
.sc .sc-brand-stats dd { grid-row:1; display:flex; align-items:center; min-height:44px; }
.sc .sc-brand-stats dt { grid-row:2; align-self:start; text-align:center; line-height:1.25; }
.sc .sc-brand-stats dd a { text-decoration:none; }

/* Everyone has a picture in the replies too: a small Sport Head with the gold ring beside the name. */
.sc .scr-head { justify-content:flex-start; }
.sc .scr-head .scr-face { flex:none; width:32px; height:32px; font-size:12px; }
.sc .scr-head .scr-report { margin-left:auto; }

/* A chosen poll or vote option keeps its fill under the pointer, everywhere (it used to turn dark on dark on hover). */
.sc button.sc-poll-option:is([aria-pressed="true"],[data-selected="true"]):hover { background:var(--shot-teal); color:#111; }

/* Live now in a Clubhouse: one calm line per matchday chat or Huddle. Live is always red; the line itself is a plain row, not a card. */
.sc .sc-live-strip { display:grid; gap:0; margin:8px 0 4px; border-block:1px solid var(--shot-border); }
.sc .sc-live-line { display:flex; align-items:center; gap:12px; min-height:56px; padding:8px 2px; color:var(--shot-text); text-decoration:none; }
.sc .sc-live-line + .sc-live-line { border-top:1px solid var(--shot-border); }
.sc .sc-live-line > span:nth-child(2) { display:grid; gap:2px; min-width:0; flex:1 1 auto; }
.sc .sc-live-line strong { font-weight:700; overflow-wrap:anywhere; }
.sc .sc-live-line small { color:var(--shot-text-secondary); font-size:var(--fs-caption,12px); }
.sc .sc-live-line svg { flex:none; width:18px; height:18px; color:var(--shot-text-secondary); }
.sc .sc-live-mark { flex:none; width:10px; height:10px; border-radius:50%; background:var(--shot-live); }
.sc .sc-live-line:focus-visible { outline-offset:-3px; }

/* Who is in a post: one quiet line, names in gold (gold is people). Tags, the topics, stay their own line underneath. */
.sc .sc-post-people { margin:0; color:var(--shot-text-secondary); font-size:var(--fs-small,14px); line-height:1.5; }
.sc .sc-post-people a { display:inline-flex; align-items:center; min-height:44px; color:var(--shot-gold); font-weight:700; text-decoration:none; }
.sc .sc-post-people a:focus-visible { outline-offset:2px; }
.sc .sc-tagged-in > h3 { margin:8px 0 0; }

/* 44px tap targets in feed cards (24 Nov 2026 scorecard: 1341 under 44px). Same look; the hit area grows, text links keep their text size. */
.sc .sc-post-top .sc-avatar { width:44px; height:44px; }
.sc a.sc-name, .sc .sc-post-context a, .sc h2 > a { display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
.sc .sc-post-context { line-height:1; }
.sc a.sc-series, .sc .sc-spotlight-caption span > a, .sc header.sc-cover div > a:not(.sc-series), .sc .ssh-title > a, .sc p.sc-muted > a { display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
