/* Social in the bell, the CC button, richer search with chips and recent searches, the first-run steps and "Show more of this"
   (assets/js/sections/social-next.js). Tokens only, so Dark, Mixed and Light all follow. No gradients, 44px targets.
   Teal is watching and finding (CC, search kinds, picks), purple is a Clubhouse (the New mark, your clubs), gold is people (follows).
   Loaded directly before social-system.css. */

:is(.sn-bell,.sn-recent,.sn-types,.sn-first,.sn-picked,.sn-more,.sn-more-list) :is(a,button,input,select):focus-visible,
.sn-cc:focus-visible { outline:2px solid var(--status-upcoming-text); outline-offset:2px; }
.sn-note { margin:0; color:var(--shot-text-secondary); font-size:var(--fs-small,14px); line-height:1.5; overflow-wrap:anywhere; }
.sn-h { margin:var(--s3,12px) 0 var(--s1,4px); font-family:var(--font-heading); font-size:var(--fs-body,16px); }
.sn-actions { display:flex; flex-wrap:wrap; gap:var(--s2,8px); align-items:center; }
.sn-actions .w-btn { min-height:44px; }

/* 1. Social rows in the bell. The row is the shared list row. */
.sn-bell { display:grid; gap:var(--s1,4px); margin-bottom:var(--s3,12px); min-width:0; }
.sn-bell-row .w-row { min-height:56px; }
.sn-bell-row .w-row-title,.sn-bell-row .w-row-sub { white-space:normal; overflow-wrap:anywhere; }
.sn-ic svg { width:20px; height:20px; }

/* 3. CC. Sits at the top corner of the picture, clear of the player's own controls along the foot. */
.sn-cc-host { position:relative; }
.sn-cc { position:absolute; top:var(--s2,8px); right:var(--s2,8px); z-index:3; display:grid; place-items:center; min-width:44px; min-height:44px; padding:0 10px;
  border:2px solid rgba(255,255,255,.7); border-radius:12px; background:rgba(10,10,10,.78); color:#fff; font-family:var(--font-heading); font-size:var(--fs-small,14px); font-weight:800; letter-spacing:.04em; cursor:pointer; }
.sn-cc[aria-pressed="true"] { border-color:var(--shot-teal); background:var(--shot-teal); color:#000; }
/* The reel's tabs sit along its top edge, its info band along the foot and its Cheer and Reply rail down the right, so CC sits just under the tabs on the left. */
[data-stage].sn-cc-host .sn-cc { top:56px; right:auto; bottom:auto; left:var(--s2,8px); }
video::cue { font-size:1.1em; line-height:1.3; }

/* 4. Search. Type chips and recent searches. */
.sn-types { margin:var(--s2,8px) 0; min-width:0; max-width:100%; }
/* Six short chips wrap onto a second line on a phone rather than running off the edge. */
.sn-types .w-pills { flex-wrap:wrap; max-width:100%; }
.sc-search > :is(.sn-types,.sn-recent) { min-width:0; max-width:100%; }
.sn-off { display:none !important; }
.sn-recent { display:grid; gap:var(--s2,8px); margin:var(--s2,8px) 0; min-width:0; }
.sn-recent[hidden] { display:none; }
.sn-recent-head { display:flex; align-items:center; justify-content:space-between; gap:var(--s3,12px); }
.sn-recent-head h3 { margin:0 !important; }
.sn-clear { min-height:44px; }
.sn-recent-list { display:flex; flex-wrap:wrap; gap:var(--s2,8px); margin:0; padding:0; list-style:none; }
.sn-chip { display:inline-flex; align-items:center; gap:var(--s2,8px); min-height:44px; max-width:100%; 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; cursor:pointer; }
.sn-chip svg { width:16px; height:16px; flex:none; }
.sn-chip span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sn-chip[aria-pressed="true"] { background:var(--shot-text); color:var(--shot-background); }
.sc-avatar.sn-av { background:var(--shot-teal); color:#000; }
.sn-av svg { width:20px; height:20px; }

/* 5. First run. A card at the head of For you, then a row of posts for the picked sports. */
.sn-first { display:grid; gap:var(--s3,12px); margin:var(--s3,12px) 0; padding:var(--s3,12px) var(--s3,12px) var(--s3,12px) var(--s4,16px);
  border:1px solid var(--shot-border); border-left:3px solid var(--shot-teal); border-radius:12px; background:var(--shot-surface-elevated); min-width:0; }
.sn-picked { display:grid; gap:var(--s3,12px); margin:var(--s3,12px) 0; padding-bottom:var(--s3,12px); border-bottom:1px solid var(--shot-border); min-width:0; }
.sn-step { margin:0; color:var(--shot-text-secondary); font-size:var(--fs-caption,12px); font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.sn-picked-h { margin:0; font-family:var(--font-heading); font-size:var(--fs-body,16px); }
.sn-first-h { margin:0; font-family:var(--font-heading); font-size:var(--fs-h3,18px); overflow-wrap:anywhere; }
.sn-first-h:focus { outline:none; }
.sn-picks { display:flex; flex-wrap:wrap; gap:var(--s2,8px); }
.sn-picked-head { display:flex; align-items:center; justify-content:space-between; gap:var(--s3,12px); flex-wrap:wrap; }
.sn-picked-head h2 { margin:0 !important; overflow-wrap:anywhere; }
.sn-picked .w-btn { min-height:44px; }

/* 13. Show more of this: the same shape as Show less. */
.sn-more { display:grid; gap:var(--s2,8px); min-width:0; }
.sn-more h4 { margin:0; }
.sn-more .w-btn { min-height:44px; }

@media (prefers-reduced-motion:reduce) { .sn-first *,.sn-bell *,.sn-recent * { transition:none !important; animation:none !important; } }
