/* live-faces.css: Live session (Piece C) faces strip (live-sfu.js). Shown only when live rooms go through
   Cloudflare (LIVE_SFU on). Loaded after live.css. Tokens only.
   Wide screens (>= 1000px, where #cr-stream is a row): a column beside the main picture.
   Narrower: a row under the main picture that scrolls sideways. */
#camera-room .cr-faces{display:flex;flex-direction:row;gap:var(--s-2);flex:0 0 auto;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:var(--s-1) 0;-webkit-overflow-scrolling:touch}
@media (min-width:1000px){
  #camera-room .cr-faces{flex-direction:column;width:calc(120px + var(--s-3));max-height:100%;overflow-x:hidden;overflow-y:auto;padding:0 var(--s-1)}
}
.cr-faces-state{flex:0 0 100%;margin:0;color:var(--text-2);font-size:var(--fs-xs)}
.cr-faces-state[hidden]{display:none}
.cr-face{display:flex;flex-direction:column;align-items:center;gap:var(--s-1);flex:0 0 auto;width:120px;min-width:96px}
.cr-face-pic{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-tool,8px);background:var(--video-bg,var(--surface-3));box-shadow:0 0 0 2px transparent;transition:box-shadow var(--t-fast,120ms)}
.cr-face-pic video{width:100%;height:100%;object-fit:cover}
.cr-face-pic video[hidden]{display:none}
.cr-face-initials{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--r-pill,999px);background:var(--accent-soft);color:var(--accent-text);font-weight:var(--fw-bold);font-size:var(--fs-md)}
.cr-face-initials[hidden]{display:none}
/* the ring on whoever speaks */
.cr-face-speaking .cr-face-pic{box-shadow:0 0 0 3px var(--accent)}
.cr-face-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:var(--fs-xs)}
.cr-face-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s-1)}
#camera-room .cr-face-btn{min-height:var(--tap);padding:0 var(--s-2);font-size:var(--fs-xs)}
#camera-room .cr-face-btn[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}
@media (prefers-reduced-motion:reduce){.cr-face-pic{transition:none}}
