/* Under-18s and family in Clubhouse Social (assets/js/sections/social-family.js). Tokens only, no gradients.
   Loaded directly before social-system.css, which keeps the last word on tabs and chips. */

/* A locked state: what it is, why, then one way forward. */
.sf-lock { max-width:700px; border:1px solid var(--shot-border); }
.sf-lock-what { display:flex; align-items:center; gap:8px; margin:0; font-size:16px; overflow-wrap:anywhere; }
.sf-lock-what svg { flex:0 0 auto; width:18px; height:18px; color:var(--accent-purple-text); }
.sf-lock .w-btn { justify-self:start; min-height:44px; }
.sf-lock-tag { margin:0; font-weight:700; color:var(--shot-text); }
.sf-lock-tag--plain { font-weight:400; color:var(--shot-text-secondary); }
.sf-list-label { margin:0; font-size:14px; font-weight:400; color:var(--shot-text-secondary); }
.sf-lock-tag:focus-visible,.sf-team-head:focus-visible { outline:2px solid var(--shot-teal); outline-offset:3px; }
.sf-post > .sf-lock { background:var(--shot-surface-elevated); }

/* Watch: the clip list ends, and says so. */
.sf-end,.sf-next { max-width:860px; margin:0; text-align:center; color:var(--shot-text-secondary); font-size:var(--fs-small,14px); }
.sf-end { padding-top:var(--s2,8px); font-weight:700; }
.sf-next a { display:inline-flex; align-items:center; min-height:44px; padding-inline:var(--s3,12px); color:var(--shot-text); font-weight:700; }
.sf-next a:focus-visible { outline:2px solid var(--shot-teal); outline-offset:2px; }
.sc-watch-context button svg { width:20px; height:20px; }

/* A team's posts and the replies under them. */
.sf-posts,.sf-team-head { max-width:700px; }
.sf-post-by { margin:0; color:var(--accent-purple-text); font-size:13px; font-weight:700; }
.sf-post :is(h3,h4) { margin:0; font-size:16px; overflow-wrap:anywhere; }
.sf-post .sc-copy { overflow-wrap:anywhere; }
.sf-replies { display:grid; }
.sf-replies .sc-reply strong { font-size:var(--fs-small,14px); }
.sf-post .sc-form .w-btn { min-width:88px; }
.sf-code-link { max-width:700px; margin:0; }
.sf-code-link .sc-action { min-height:44px; text-decoration:underline; }

/* The Clubhouse Code sheet for a 13 to 15 account. */
.sf-code { display:grid; gap:14px; }
.sf-code-rules { display:grid; gap:10px; margin:0; padding:0; list-style:none; counter-reset:sf-code; }
.sf-code-rules li { counter-increment:sf-code; display:grid; gap:2px; padding:12px; border-radius:12px; background:var(--shot-surface-elevated); }
.sf-code-rules strong::before { content:counter(sf-code) '. '; }
.sf-code-rules p { margin:0; color:var(--shot-text-secondary); line-height:1.5; }
.sf-code .w-btn { justify-self:start; min-height:44px; }

/* Follow: a short picked list. Gold is a person, purple is a Clubhouse. */
.sf-follow { max-width:700px; }
.sf-picks { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.sf-picks li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; }
.sf-pick-name { display:grid; gap:2px; min-width:0; }
.sf-pick-name strong { overflow-wrap:anywhere; }
.sf-pick-name small { color:var(--shot-text-secondary); font-size:var(--fs-caption,12px); }
.sf-picks .w-btn { min-height:44px; }

/* Family: a parent's page. */
.sf-waiting { max-width:700px; margin:0; font-weight:700; }
.sf-kid h3 { margin:0; font-size:20px; }
.sf-kid h4 { overflow-wrap:anywhere; }
.sf-request { padding:12px; border:1px solid var(--shot-gold); border-radius:12px; background:var(--shot-surface-elevated); }
.sf-request-line { margin:0; font-weight:700; font-size:16px; overflow-wrap:anywhere; }
.sf-request-date { margin:0; color:var(--shot-text-secondary); font-size:var(--fs-caption,12px); }
.sf-kid .sc-actions .w-btn,.sf-request .w-btn { min-height:44px; }
.sf-kid-team { border-top:1px solid var(--shot-border); }
.sf-kid-team summary { display:flex; align-items:center; min-height:44px; font-weight:700; cursor:pointer; }
.sf-kid-team summary:focus-visible { outline:2px solid var(--shot-teal); outline-offset:2px; }
.sf-kid-team .sf-post { background:var(--shot-surface-elevated); }
.sf-asked .sc-review-queue .w-btn { justify-self:start; min-height:44px; }
.sf-entry { max-width:720px; margin-inline:auto; width:100%; }

/* Four age modes read as two by two on a wide screen. */
@media (min-width:1024px) { .sf-modes .sc-mode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
