/* 녹화 버튼 + 처리 중 메모 버튼, 카메라 이동 오버레이. */
.record-dock {
  position: fixed; z-index: 80; left: 50%; bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
}
.record-button {
  display: flex; align-items: center; gap: 10px;
  min-width: 150px; justify-content: center; padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  color: #fff; background: #e5385d; font-weight: 750; cursor: pointer;
  box-shadow: 0 14px 40px rgba(229,56,93,.32);
}
/* 녹화 처리 중에만 보라색 버튼 옆에 잠시 나타나는 메모 버튼. */
.record-note {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(124,77,255,.45); border-radius: 50%;
  color: #cbb6ff; background: rgba(124,77,255,.22); cursor: pointer;
  box-shadow: 0 12px 30px rgba(124,77,255,.3);
  animation: notePop .26s ease-out both;
}
.record-note:active { transform: scale(.94); }
.record-note svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes notePop {
  from { opacity: 0; transform: translateX(-10px) scale(.8); }
  to { opacity: 1; transform: none; }
}
.record-button i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.record-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.08; }
.record-label strong { font-size: 14px; font-weight: 800; }
.record-label small { margin-top: 4px; font-size: 10px; font-weight: 650; opacity: .78; }
.record-button:disabled { cursor: wait; opacity: .82; }
.record-button.recording { background: #7c4dff; }
.record-button.recording i { animation: recordPulse 1s ease-in-out infinite; }
@keyframes recordPulse { 50% { opacity: .28; transform: scale(.75); } }
.moving-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  background: rgba(8,9,11,.8); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  cursor: wait;
}
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: var(--accent);
  box-shadow: 0 0 28px rgba(255,73,109,.2);
  animation: spin .72s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
