"use client"; // The container-query scaling, the hint pill that retracts behind the webcam // bubble, and the aspect-locked theatre expand are a clean-room reimplementation // of techniques observed on unabyss.com; no upstream source was used. import { Maximize2, Volume2, X } from "lucide-react"; import { useReducedMotion } from "motion/react"; import { type CSSProperties, type ReactNode, useEffect, useId, useRef, useState } from "react"; import { EASE_OUT_CSS } from "@/lib/ease"; import { cn } from "@/lib/utils"; export interface RecordingCardProps { /** What is on the recorded screen — any node; it sits inside the window mock. */ children: ReactNode; /** Window title in the mock's toolbar. */ title?: string; /** * The webcam circle: an ``, a `