/* Record screen, video in Chat and Add to seller dashboard (3 Dec 2026). See public/js/screenrecord.js.
   Its own file so the Chat stylesheet, which other work is editing, is left alone. */

/* The bar while recording, and the one that says a recording is waiting. Placed like #ss-slot (live share). */
#sr-slot { position: fixed; left: 50%; transform: translateX(-50%); bottom: 72px; z-index: 172; display: flex; flex-direction: column; gap: 8px; align-items: center; max-width: calc(100vw - 32px); }

/* The preview in the review window. */
.sr-prev { width: 100%; max-height: 62vh; background: #000; border-radius: 10px; display: block; }

/* A video in the thread: bigger than the old 260px thumbnail, because it is usually a screen. */
.oc-vid { display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
.oc-video { width: 360px; max-width: 100%; background: #000; }
.oc-vidbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; }
.oc-vlink { background: none; border: 0; padding: 0; font: inherit; color: #1d4ed8; cursor: pointer; text-decoration: underline; }
.oc-vlink:hover { color: #1e3a8a; }

/* Phones: the video fills the bubble, the links are big enough to press, and the bar clears the composer. */
@media (max-width: 700px) {
  .oc-video { width: 100%; }
  .oc-vlink { min-height: 36px; display: inline-flex; align-items: center; }
  #sr-slot { bottom: 130px; }
  .sr-prev { max-height: 48vh; }
}
