/* FUTCALL_AUDIO_RECORDER_R6_3_125A */
.fc-video-recorder-launch {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.fc-video-recorder-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(134, 105, 255, 0.34);
  border-radius: 999px;
  background: rgba(95, 72, 176, 0.14);
  color: #f7f5ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.fc-video-recorder-trigger:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(155, 129, 255, 0.62);
  background: rgba(105, 80, 202, 0.22);
}

.fc-video-recorder-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.fc-video-recorder-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fc-video-recorder-overlay {
  position: fixed;
  z-index: 10030;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 35%, rgba(111, 76, 255, 0.13), transparent 42%),
    rgba(5, 4, 14, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.fc-video-recorder {
  width: min(760px, 100%);
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(132, 104, 255, 0.28);
  border-radius: 28px;
  outline: none;
  background:
    radial-gradient(circle at 82% 0%, rgba(114, 75, 255, 0.14), transparent 35%),
    linear-gradient(155deg, rgba(25, 21, 44, 0.98), rgba(10, 9, 21, 0.99));
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.fc-video-recorder__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.fc-video-recorder__eyebrow {
  margin: 0 0 7px;
  color: #8e7cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fc-video-recorder__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
}

.fc-video-recorder__close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #b9b2cb;
  cursor: pointer;
}

.fc-video-recorder__close:hover {
  color: #fff;
  border-color: rgba(152, 128, 255, 0.38);
}

.fc-video-recorder__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.fc-video-recorder__lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: #aaa2bf;
  font-size: 14px;
  line-height: 1.6;
}

.fc-video-recorder__status-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.fc-video-recorder__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(125, 103, 220, 0.23);
  border-radius: 999px;
  background: rgba(90, 70, 165, 0.1);
  color: #a99fd0;
  font-size: 12px;
  font-weight: 700;
}

.fc-video-recorder__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.72;
}

.fc-video-recorder__status[data-state="recording"] {
  color: #ff718b;
  border-color: rgba(255, 92, 124, 0.25);
  background: rgba(255, 72, 107, 0.08);
}

.fc-video-recorder__status[data-state="recording"]::before {
  animation: fc-recorder-pulse 1.15s ease-in-out infinite;
}

.fc-video-recorder__status[data-state="recorded"],
.fc-video-recorder__status[data-state="playing"] {
  color: #a998ff;
}

@keyframes fc-recorder-pulse {
  0%, 100% { transform: scale(0.78); opacity: 0.45; }
  50% { transform: scale(1.2); opacity: 1; }
}

.fc-video-recorder__time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 18px;
  color: #817a94;
  font-variant-numeric: tabular-nums;
}

.fc-video-recorder__time strong {
  color: #fff;
  font-size: clamp(38px, 8vw, 64px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.fc-video-recorder__wave {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid rgba(128, 97, 238, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(128, 92, 255, 0.055), transparent 65%),
    rgba(5, 5, 14, 0.5);
}

.fc-video-recorder__wave::after {
  content: "";
  position: absolute;
  inset: 50% 18px auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.fc-video-recorder__wave canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
  touch-action: none;
}

.fc-video-recorder__wave.is-seekable canvas {
  cursor: ew-resize;
}

.fc-video-recorder__wave-glow {
  position: absolute;
  z-index: 1;
  inset: auto 18% -55% 18%;
  height: 70%;
  border-radius: 50%;
  background: rgba(112, 74, 255, 0.18);
  filter: blur(34px);
  pointer-events: none;
}

.fc-video-recorder__error {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 102, 130, 0.2);
  border-radius: 12px;
  background: rgba(255, 74, 108, 0.06);
  color: #ff9cae;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.fc-video-recorder__transport {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.fc-video-recorder__control {
  min-width: 92px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #c4bdd5;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fc-video-recorder__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 117, 238, 0.22);
  border-radius: 18px;
  background: rgba(111, 87, 196, 0.1);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.fc-video-recorder__control:hover .fc-video-recorder__icon {
  transform: translateY(-1px);
  background: rgba(116, 88, 215, 0.18);
  border-color: rgba(152, 126, 255, 0.4);
}

.fc-video-recorder__control svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-video-recorder__control--record .fc-video-recorder__icon {
  background: linear-gradient(145deg, #7a54f8, #5e3bd0);
  border-color: rgba(172, 148, 255, 0.54);
  box-shadow: 0 10px 34px rgba(101, 66, 219, 0.28);
}

.fc-video-recorder__record-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.fc-video-recorder__control--stop .fc-video-recorder__icon {
  color: #ff879c;
}

.fc-video-recorder__control--play .fc-video-recorder__icon {
  color: #fff;
  background: linear-gradient(145deg, #7655ed, #4f36ba);
}

.fc-video-recorder__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.fc-video-recorder__actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fc-video-recorder__actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .fc-video-recorder-overlay {
    align-items: end;
    padding: 10px;
  }

  .fc-video-recorder {
    padding: 22px 16px 18px;
    border-radius: 24px;
  }

  .fc-video-recorder__wave {
    height: 145px;
  }

  .fc-video-recorder__transport {
    gap: 4px;
  }

  .fc-video-recorder__control {
    min-width: 78px;
  }

  .fc-video-recorder__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fc-video-recorder__actions .button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-video-recorder__status[data-state="recording"]::before {
    animation: none;
  }

  .fc-video-recorder-trigger,
  .fc-video-recorder__icon {
    transition: none;
  }
}


/* FUTCALL_VIDEO_RECORDER_CAMERA_PREVIEW_R6_3_130B */
.fc-video-recorder-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  max-height: min(52vh, 520px);
  overflow: hidden;
  border-radius: 18px;
  background: #050609;
  margin: 0 0 18px;
}
.fc-video-recorder-preview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  background: #050609;
}
.fc-video-recorder-preview.is-live {
  object-fit: cover;
  transform: scaleX(-1);
}
.fc-video-recorder-camera-state {
  position: absolute;
  inset: auto 12px 12px 12px;
  pointer-events: none;
  text-align: center;
  font-size: .82rem;
  opacity: .82;
}
.fc-video-recorder-trigger {
  width: 100%;
  margin-top: 12px;
}
.fc-video-recorder-trigger[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .fc-video-recorder-stage { min-height: 180px; border-radius: 14px; }
  .fc-video-recorder-preview { min-height: 180px; }
}
