/* Caboodle Screen recorder – on top of the Video editor's layout (video/video.css): the clip strip on the left
   (shared/thumbs.css), the Record window, and what covers the viewer while recording. */
#rc-strip { flex: 1; min-height: 0; }

/* the Record window */
.rc-win { display: flex; flex-direction: column; gap: 14px; padding: 12px 14px 14px; }
.rc-sec { display: flex; flex-direction: column; gap: 8px; }
.rc-sec + .rc-sec { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.rc-h { margin: 0; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rc-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.rc-select { width: 100%; }
.rc-preview { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--toast); }
.rc-meter-row { display: flex; align-items: center; gap: 8px; }
.rc-meter { flex: 1; height: 6px; border-radius: var(--radius-xs); background: var(--sunk); overflow: hidden; }
.rc-meter i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .08s linear; }
.rc-go { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.rc-record { justify-content: center; gap: 8px; padding-block: 9px; font-size: 14px; }
.rc-record .rc-dot { background: currentColor; width: 10px; height: 10px; }
.rc-clock { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rc-btns .btn { flex: 1; justify-content: center; }

/* the red dot of recording (--rec: red, because it means recording everywhere) */
.rc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); flex: none; display: inline-block; }
.rc-dot.big { width: 18px; height: 18px; animation: rc-blink 1.6s ease-in-out infinite; }
.rc-dot.paused { background: var(--faint); animation: none; }
@keyframes rc-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .rc-dot.big { animation: none; } }

/* over the viewer while recording: the time, Pause and Stop – the screen itself isn't shown (it would show itself) */
#rc-live { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: var(--toast); color: var(--toast-text); }
#rc-live[hidden] { display: none; }
.rc-live-box { display: grid; justify-items: center; gap: 10px; max-width: 46ch; padding: 24px; text-align: center; }
.rc-live-box p { margin: 0; color: color-mix(in srgb, var(--toast-text) 70%, transparent); font-size: 14px; line-height: 1.5; }
.rc-live-box .rc-btns { min-width: 240px; }
.rc-big { font-size: 48px; font-weight: 600; font-variant-numeric: tabular-nums; }
