/* Replies and the Clubhouse Code (23 Nov 2026). Under a post it is Reply and Replies; a Thread is a discussion post in a Clubhouse;
   Chat is only a live match watch-along. Purple (--accent-purple-text) marks Clubhouse talk, teal is watching and making, gold is people.
   Tokens only, so Dark, Mixed and Light all follow. Few boxes: a hairline between replies and a coloured rule for a note, nothing else.
   Loaded directly before social-system.css. */

/* The reply list. Each reply keeps the hairline it already had (.sc-reply in social.css). */
.scr-head { display:flex; align-items:center; justify-content:space-between; gap:var(--s2); min-height:44px; }
.scr-head .sc-name { display:inline-flex; align-items:center; min-height:44px; min-width:0; overflow-wrap:anywhere; }
.scr-report, .scr-action { flex:none; min-width:44px; min-height:44px; padding:0 var(--s1); border:0; border-radius:8px; background:transparent;
  color:var(--shot-text-secondary); font:500 .8125rem/1 var(--font-body); cursor:pointer; }
.scr-report:hover, .scr-action:hover { color:var(--shot-text); text-decoration:underline; }
.scr-report:focus-visible, .scr-play:focus-visible, .scr-reason:focus-visible, .scr-link:focus-visible { outline:2px solid var(--focus-ring); outline-offset:2px; }
.sc-reply > .sc-copy { margin:0; overflow-wrap:anywhere; }
.scr-action:focus-visible { outline:2px solid var(--focus-ring); outline-offset:2px; }
/* Delete your own reply: the question and its two buttons take the place of the Delete button. */
.scr-confirm { display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:0 var(--s1); }
.scr-confirm-q { color:var(--shot-text); font:500 .8125rem/1.3 var(--font-body); }
.scr-confirm .scr-yes { color:var(--shot-text); font-weight:700; text-decoration:underline; text-underline-offset:3px; }

/* A video or photo in a reply: small, portrait-safe, never taller than 220px, with one 44px play control. */
.scr-media { display:grid; justify-items:start; gap:var(--s1); margin:var(--s2) 0 0; }
.scr-player { position:relative; display:inline-grid; max-width:100%; border-radius:10px; overflow:hidden; background:var(--shot-background); }
.scr-player video, .scr-player img { display:block; width:auto; height:auto; max-width:100%; max-height:220px; min-width:124px; min-height:88px; object-fit:contain; }
.scr-play { position:absolute; left:var(--s2); bottom:var(--s2); display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%;
  background:var(--shot-teal); color:#000; font-size:1rem; line-height:1; cursor:pointer; }
.scr-play .scr-pause, .scr-play[data-playing] .scr-go { display:none; }
.scr-play[data-playing] .scr-pause { display:inline; }
.scr-media figcaption, .scr-status { margin:0; color:var(--shot-text-secondary); font-size:.8125rem; line-height:1.4; overflow-wrap:anywhere; }

/* The reply box. One control adds one video or photo; the file input stays focusable behind its label. */
.sc-comments .scr-form { gap:var(--s2); padding-bottom:var(--s2); }
.scr-file { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; clip-path:inset(50%); }
.scr-file:focus-visible + .scr-pick { outline:2px solid var(--focus-ring); outline-offset:2px; }
.scr-pick { justify-self:start; cursor:pointer; }
.scr-picked { display:grid; gap:var(--s2); }
.scr-picked-line { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s2); margin:0; color:var(--shot-text-secondary); font-size:.875rem; line-height:1.4; }
.scr-row { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s2) var(--s3); }
.scr-note { margin:0; color:var(--shot-text-secondary); font-size:.875rem; line-height:1.4; }
.scr-link { min-height:44px; padding:0; border:0; background:transparent; color:var(--accent-purple-text); font:500 .875rem/1.3 var(--font-body);
  text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.scr-start { display:grid; justify-items:start; gap:var(--s2); }

/* Think-again nudge: a purple rule and plain words, no box. */
.scr-nudge { display:grid; gap:var(--s2); padding-left:var(--s3); border-left:3px solid var(--accent-purple-text); }
.scr-nudge p { margin:0; color:var(--shot-text); line-height:1.5; }

/* The Clubhouse Code: four numbered rules, purple numerals, one button. */
.scr-code { display:grid; gap:var(--s3); }
.scr-code > .sc-copy { margin:0; }
.scr-code-rules { display:grid; gap:var(--s3); margin:0; padding:0; list-style:none; counter-reset:scr; }
.scr-code-rules li { display:grid; grid-template-columns:28px minmax(0,1fr); column-gap:var(--s2); counter-increment:scr; }
.scr-code-rules li::before { content:counter(scr); color:var(--accent-purple-text); font:700 1.25rem/1.3 var(--font-heading); }
.scr-code-rules strong { display:block; color:var(--shot-text); font:600 1rem/1.3 var(--font-heading); }
.scr-code-rules p { margin:2px 0 0; color:var(--shot-text-secondary); line-height:1.5; }
.scr-code-rules small { display:block; margin-top:var(--s1); color:var(--shot-text-secondary); font-size:.8125rem; line-height:1.45; }
.scr-code-foot { margin:0; color:var(--shot-text); font-weight:600; line-height:1.5; }
.scr-code .w-btn { justify-self:start; min-height:44px; }

/* Reporting: reasons as large rows with a hairline between them, then what happens next. */
.scr-report-sheet { display:grid; gap:var(--s3); }
.scr-reasons { display:grid; }
.scr-reason { display:flex; align-items:center; justify-content:space-between; gap:var(--s3); width:100%; min-height:56px; padding:var(--s2) var(--s1); border:0;
  border-bottom:1px solid var(--shot-border); border-radius:0; background:transparent; color:var(--shot-text); font:500 1rem/1.3 var(--font-body); text-align:left; cursor:pointer; }
.scr-reason:last-child { border-bottom:0; }
.scr-reason:hover { background:var(--shot-surface-hover); }
.scr-next { display:grid; gap:var(--s2); margin:0; padding-left:1.25rem; color:var(--shot-text); line-height:1.5; }
.scr-urgent { margin:0; padding-left:var(--s3); border-left:3px solid var(--status-overdue); color:var(--shot-text); line-height:1.5; }

/* The Clubhouse Code row in You settings is a button that looks like its neighbouring rows. */
button.sc-you-row { width:100%; background:transparent; font:inherit; text-align:left; cursor:pointer; }
