/* live-recording.css: Live session (Piece D) recording (live-recording-ui.js). Shown only when the server
   answers /api/live-recording/status (LIVE_SFU on). Loaded after live.css. Tokens only. */
.cr-rec-badge{display:inline-flex;align-items:center;gap:var(--s-1);padding:var(--chip-pad-y,2px) var(--s-3);border-radius:var(--r-pill,999px);background:var(--danger-soft);color:var(--on-danger-soft);font-size:var(--fs-xs);font-weight:var(--fw-bold);max-width:100%;min-width:0}
.cr-rec-badge[hidden]{display:none}
.cr-rec-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* the red dot */
.cr-rec-dot{width:10px;height:10px;border-radius:50%;background:#D92D20;flex:none;animation:cr-rec-blink 1.6s ease-in-out infinite}
@keyframes cr-rec-blink{0%,100%{opacity:1}50%{opacity:.35}}
#camera-room .cr-rec-btn[hidden],#camera-room .cr-rec-list-btn[hidden]{display:none}
#camera-room .cr-rec-btn.cr-rec-on{background:var(--danger-soft);color:var(--on-danger-soft);border-color:var(--danger-line)}
.cr-rec-panel{position:absolute;right:var(--s-3);top:calc(var(--tap,44px) + var(--s-4));z-index:30;width:min(420px,calc(100vw - 32px));max-height:60vh;overflow:auto;padding:var(--s-3);border-radius:var(--r-card,12px);background:var(--surface);color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow-2,0 8px 24px rgba(0,0,0,.2))}
.cr-rec-panel[hidden]{display:none}
.cr-rec-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s-2);margin-bottom:var(--s-2)}
.cr-rec-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s-2)}
.cr-rec-item{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-1) var(--s-2);padding:var(--s-2) 0;border-top:1px solid var(--line)}
.cr-rec-name{flex:1 1 100%;font-weight:var(--fw-bold);overflow-wrap:anywhere}
@media (max-width:599px){
  .cr-rec-panel{left:16px;right:16px;width:auto}
  .cr-rec-text{max-width:42vw}
}
@media (prefers-reduced-motion:reduce){.cr-rec-dot{animation:none}}
