.voice-clone-root {
  gap: 18px;
}

.voice-clone-hero-card,
.voice-clone-builder-card,
.voice-clone-library-card,
.voice-clone-studio-card,
.voice-clone-history-card,
.voice-clone-sample-card,
.voice-clone-empty-card,
.voice-clone-profile-btn,
.voice-clone-selected-card,
.voice-clone-generation-card,
.voice-clone-avatar-preview,
.voice-clone-sample-preview,
.voice-clone-recorder-status {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 45, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 18px 34px rgba(16, 33, 45, 0.08);
}

.voice-clone-hero-card,
.voice-clone-builder-card,
.voice-clone-library-card,
.voice-clone-studio-card,
.voice-clone-history-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 250, 0.94));
}

.voice-clone-hero-card {
  background:
    radial-gradient(circle at top right, rgba(88, 139, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(31, 184, 170, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 251, 0.94));
}

.voice-clone-hero-copy,
.voice-clone-selected-copy,
.voice-clone-generation-copy,
.voice-clone-generation-head,
.voice-clone-sample-copy,
.voice-clone-empty-card,
.voice-clone-recorder-status {
  display: grid;
  gap: 10px;
}

.voice-clone-hero-desc,
.voice-clone-selected-transcript,
.voice-clone-empty-card p,
.voice-clone-generation-text,
.voice-clone-sample-copy p,
.voice-clone-recorder-status,
.voice-clone-action-btn span {
  margin: 0;
  line-height: 1.75;
  color: var(--ink-700);
}

.voice-clone-pill-row,
.voice-clone-action-grid,
.voice-clone-role-grid,
.voice-clone-profile-grid,
.voice-clone-generation-actions,
.voice-clone-generation-list,
.voice-clone-selected-media,
.voice-clone-avatar-head {
  display: grid;
  gap: 12px;
}

.voice-clone-pill-row,
.voice-clone-generation-actions,
.voice-clone-selected-media,
.voice-clone-avatar-head {
  align-items: center;
}

.voice-clone-pill-row {
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
}

.voice-clone-pill,
.voice-clone-hint-chip,
.voice-clone-count-chip,
.voice-clone-profile-meta,
.voice-clone-generation-time,
.voice-clone-sample-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.voice-clone-pill,
.voice-clone-profile-meta,
.voice-clone-sample-badge {
  background: rgba(31, 184, 170, 0.12);
  color: #0c7a70;
}

.voice-clone-hint-chip,
.voice-clone-count-chip,
.voice-clone-generation-time {
  background: rgba(17, 50, 70, 0.08);
  color: var(--ink-700);
}

.voice-clone-action-grid,
.voice-clone-role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.voice-clone-action-btn {
  min-height: 124px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(16, 33, 45, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 250, 0.94));
  text-align: left;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.voice-clone-action-btn * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#voiceCloneRecordBtn {
  touch-action: none;
}

#voiceCloneRecordBtn.is-pressed,
#voiceCloneRecordBtn.is-recording {
  transform: translateY(1px) scale(0.992);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 18px rgba(17, 50, 70, 0.18);
}

.voice-clone-action-btn strong,
.voice-clone-selected-name,
.voice-clone-generation-copy strong,
.voice-clone-sample-copy strong {
  color: var(--ink-950);
}

.voice-clone-action-btn-accent {
  background: linear-gradient(145deg, rgba(17, 50, 70, 0.98), rgba(31, 184, 170, 0.92));
  border-color: transparent;
}

.voice-clone-action-btn-accent strong,
.voice-clone-action-btn-accent span {
  color: #ffffff;
}

.voice-clone-recorder-status,
.voice-clone-sample-preview,
.voice-clone-avatar-preview {
  min-height: 88px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.94));
}

.voice-clone-recorder-status {
  background: linear-gradient(145deg, rgba(255, 236, 211, 0.96), rgba(255, 255, 255, 0.94));
  color: #9a3412;
}

.voice-clone-recording-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.voice-clone-recording-shell {
  min-width: min(280px, calc(100vw - 48px));
  max-width: 320px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 22px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at top, rgba(248, 113, 113, 0.28), transparent 42%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  box-shadow:
    0 28px 48px rgba(15, 23, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.voice-clone-recording-pulse {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.92) 0%, rgba(239, 68, 68, 0.12) 68%, transparent 70%);
  animation: voice-clone-recording-pulse 1.6s ease-out infinite;
}

.voice-clone-recording-dot {
  width: 14px;
  height: 14px;
  margin-top: -54px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 0 8px rgba(248, 113, 113, 0.16);
}

.voice-clone-recording-title {
  margin-top: 2px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.voice-clone-recording-time,
.voice-clone-recording-tip {
  margin: 0;
  text-align: center;
}

.voice-clone-recording-time {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.voice-clone-recording-tip {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
}

body.voice-clone-recording-active,
body.voice-clone-recording-active * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none;
}

@keyframes voice-clone-recording-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.92;
  }

  70% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.voice-clone-sample-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 248, 250, 0.94));
}

.voice-clone-sample-card audio,
.voice-clone-generation-card audio {
  width: 100%;
}

.voice-clone-clear-btn {
  justify-self: start;
  padding: 8px 18px;
  border: none;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.voice-clone-clear-btn:hover {
  background: rgba(239, 68, 68, 0.16);
}

.voice-clone-avatar-panel {
  display: grid;
  gap: 12px;
}

.voice-clone-avatar-head {
  grid-template-columns: 1fr auto;
}

.voice-clone-avatar-head span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
}

.voice-clone-avatar-preview {
  display: grid;
  place-items: center;
}

.voice-clone-avatar-empty,
.voice-clone-selected-avatar,
.voice-clone-selected-avatar img,
.voice-clone-profile-avatar,
.voice-clone-profile-avatar img {
  width: 76px;
  height: 76px;
  border-radius: 24px;
}

.voice-clone-avatar-empty,
.voice-clone-profile-avatar,
.voice-clone-selected-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #113246, #1fb8aa);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.voice-clone-avatar-preview-wrap {
  position: relative;
}

.voice-clone-avatar-clear {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--bg-100, #f9fafb);
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
  transition: transform 0.15s;
}

.voice-clone-avatar-clear:hover {
  transform: scale(1.15);
}

.voice-clone-avatar-empty span,
.voice-clone-profile-avatar span,
.voice-clone-selected-avatar span {
  line-height: 1;
}

.voice-clone-profile-grid,
.voice-clone-generation-list {
  grid-template-columns: 1fr;
}

.voice-clone-profile-btn,
.voice-clone-generation-card,
.voice-clone-selected-card,
.voice-clone-empty-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 250, 0.94));
}

.voice-clone-profile-btn {
  width: 100%;
  text-align: left;
}

.voice-clone-profile-btn.is-active {
  border-color: rgba(31, 184, 170, 0.32);
  background: linear-gradient(145deg, rgba(31, 184, 170, 0.18), rgba(255, 255, 255, 0.98));
  box-shadow: 0 22px 36px rgba(31, 184, 170, 0.12);
}

.voice-clone-profile-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.voice-clone-profile-delete {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--bg-200, #f3f4f6);
  color: var(--ink-400, #9ca3af);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.voice-clone-profile-delete:hover {
  background: #fef2f2;
  color: #ef4444;
}

.voice-clone-profile-copy,
.voice-clone-generation-copy {
  display: grid;
  gap: 8px;
}

.voice-clone-profile-copy strong,
.voice-clone-selected-copy strong,
.voice-clone-generation-copy strong {
  font-size: 1rem;
}

.voice-clone-profile-copy p,
.voice-clone-selected-copy span,
.voice-clone-selected-transcript,
.voice-clone-generation-text,
.voice-clone-empty-card strong {
  margin: 0;
}

.voice-clone-profile-copy p,
.voice-clone-selected-copy span {
  color: var(--ink-700);
  line-height: 1.65;
}

.voice-clone-selected-media {
  grid-template-columns: 76px minmax(0, 1fr);
}

.voice-clone-generation-head {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.voice-clone-generation-actions {
  grid-template-columns: 1fr;
}

.voice-clone-native-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.voice-clone-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, #113246 0%, #1fb8aa 100%);
}

.voice-clone-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(17, 50, 70, 0.12);
  border-radius: 16px;
  background: rgba(17, 50, 70, 0.06);
  color: var(--ink-900);
  font-weight: 700;
}

.voice-clone-generation-empty,
.voice-clone-profile-empty,
.voice-clone-sample-empty {
  text-align: center;
  color: var(--ink-700);
}

.voice-clone-loading {
  color: var(--ink-700);
}

.voice-clone-generation-status {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--ink-700);
  background: rgba(17, 50, 70, 0.06);
  border: 1px dashed rgba(17, 50, 70, 0.14);
}

.voice-clone-root {
  gap: 22px;
}

.voice-clone-action-grid,
.voice-clone-role-grid {
  grid-template-columns: 1fr;
}

.voice-clone-builder-card {
  gap: 18px;
}

.voice-clone-role-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(16, 33, 45, 0.08);
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.voice-clone-role-form .field.tool-field.compact-field,
.voice-clone-avatar-panel {
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 33, 45, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.voice-clone-role-form .field.tool-field.compact-field {
  display: grid;
  gap: 12px;
  align-content: start;
}

.voice-clone-role-form .field.tool-field.compact-field span,
.voice-clone-avatar-head span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-900);
}

.voice-clone-role-form .field.tool-field.compact-field input {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 50, 70, 0.14);
  background: #ffffff;
}

.voice-clone-avatar-panel {
  gap: 14px;
}

.voice-clone-avatar-head {
  min-height: 44px;
}

.voice-clone-avatar-head .ghost-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  justify-self: end;
}

.voice-clone-avatar-preview {
  min-height: 152px;
  padding: 18px;
  border: 1px dashed rgba(17, 50, 70, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 249, 0.92));
}

.voice-clone-avatar-empty,
.voice-clone-avatar-empty img {
  width: 92px;
  height: 92px;
  border-radius: 28px;
}

.voice-clone-avatar-empty img {
  display: block;
  object-fit: cover;
}

.voice-clone-role-form > .primary-btn {
  width: 100%;
  min-height: 54px;
}

.voice-clone-role-form > .message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 50, 70, 0.06);
}

.voice-clone-role-form > .message:empty {
  display: none;
}

.voice-clone-profile-grid,
.voice-clone-generation-list {
  gap: 14px;
}

.voice-clone-profile-btn,
.voice-clone-selected-card,
.voice-clone-generation-card,
.voice-clone-empty-card {
  border-radius: 22px;
}

@media (min-width: 760px) {
  .voice-clone-action-grid,
  .voice-clone-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-clone-role-form > .primary-btn {
    width: auto;
    min-width: 220px;
    justify-self: end;
  }
}
@media (max-width: 420px) {
  .voice-clone-pill-row {
    grid-template-columns: 1fr;
  }

  .voice-clone-native-actions {
    grid-template-columns: 1fr;
  }

  .voice-clone-action-grid,
  .voice-clone-role-grid,
  .voice-clone-generation-head {
    grid-template-columns: 1fr;
  }

  .voice-clone-avatar-head {
    grid-template-columns: 1fr;
  }

  .voice-clone-profile-row,
  .voice-clone-selected-media {
    grid-template-columns: 1fr;
  }
}
/* Voice Clone - Minimalist Detail Redesign */
.vc-mode .tool-hero,
.vc-mode .tool-detail-head {
  display: none;
}

.vc-mode {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.vc-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.vc-back-link:hover {
  background: #f1f5f9;
  color: #334155;
}

.vc-back-link:active {
  background: #e2e8f0;
  color: #334155;
}

.vc-back-link svg {
  width: 18px;
  height: 18px;
  color: #6366f1;
}

.vc-mode #voiceCloneIntro.tool-form,
.vc-mode #voiceCloneIntro.panel-card,
.vc-mode #voiceCloneIntro.tool-form-card {
  padding: 0 12px 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vc-mode .voice-clone-root {
  gap: 14px;
}

.vc-mode .voice-clone-hero-card {
  display: none;
}

.vc-mode .voice-clone-builder-card,
.vc-mode .voice-clone-library-card,
.vc-mode .voice-clone-studio-card,
.vc-mode .voice-clone-history-card,
.vc-mode .voice-clone-sample-card,
.vc-mode .voice-clone-empty-card,
.vc-mode .voice-clone-profile-btn,
.vc-mode .voice-clone-selected-card,
.vc-mode .voice-clone-generation-card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
  gap: 14px;
}

.vc-mode .voice-clone-section-head,
.vc-mode .voice-clone-avatar-head,
.vc-mode .voice-clone-generation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vc-mode .voice-clone-section-head > div,
.vc-mode .voice-clone-profile-copy,
.vc-mode .voice-clone-selected-copy,
.vc-mode .voice-clone-generation-copy,
.vc-mode .voice-clone-sample-copy,
.vc-mode .voice-clone-empty-card {
  display: grid;
  gap: 6px;
}

.vc-mode .section-tag,
.vc-mode .voice-clone-hint-chip,
.vc-mode .voice-clone-count-chip,
.vc-mode .voice-clone-profile-meta,
.vc-mode .voice-clone-generation-time,
.vc-mode .voice-clone-sample-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.vc-mode .section-tag {
  margin: 0;
  background: #eef2ff;
  color: #4f46e5;
}

.vc-mode .voice-clone-hint-chip,
.vc-mode .voice-clone-count-chip,
.vc-mode .voice-clone-profile-meta,
.vc-mode .voice-clone-generation-time,
.vc-mode .voice-clone-sample-badge {
  background: #f8fafc;
  color: #64748b;
}

.vc-mode .voice-clone-section-head h4,
.vc-mode .voice-clone-profile-copy strong,
.vc-mode .voice-clone-selected-name,
.vc-mode .voice-clone-generation-copy strong,
.vc-mode .voice-clone-sample-copy strong,
.vc-mode .voice-clone-empty-card strong {
  margin: 0;
  color: #1e293b;
}

.vc-mode .voice-clone-profile-copy p,
.vc-mode .voice-clone-selected-copy span,
.vc-mode .voice-clone-selected-transcript,
.vc-mode .voice-clone-generation-text,
.vc-mode .voice-clone-empty-card p,
.vc-mode .voice-clone-sample-copy p,
.vc-mode .voice-clone-action-btn span,
.vc-mode .voice-clone-loading {
  margin: 0;
  line-height: 1.7;
  color: #64748b;
}

.vc-mode .voice-clone-action-grid,
.vc-mode .voice-clone-role-grid,
.vc-mode .voice-clone-profile-grid,
.vc-mode .voice-clone-generation-list,
.vc-mode .voice-clone-generation-actions {
  display: grid;
  gap: 12px;
}

.vc-mode .voice-clone-action-grid,
.vc-mode .voice-clone-role-grid,
.vc-mode .voice-clone-generation-actions {
  grid-template-columns: 1fr;
}

.vc-mode .voice-clone-role-form {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field,
.vc-mode .voice-clone-avatar-panel,
.vc-mode #voiceCloneScriptField.field.tool-field {
  margin: 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field,
.vc-mode #voiceCloneScriptField.field.tool-field,
.vc-mode .voice-clone-avatar-panel {
  display: grid;
  gap: 10px;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field span,
.vc-mode #voiceCloneScriptField.field.tool-field > span,
.vc-mode .voice-clone-avatar-head span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field input,
.vc-mode #voiceCloneScript {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #1e293b;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
  outline: none;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field input {
  min-height: 44px;
  padding: 0 14px;
}

.vc-mode #voiceCloneScript {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.vc-mode .voice-clone-role-form .field.tool-field.compact-field input::placeholder,
.vc-mode #voiceCloneScript::placeholder {
  color: #94a3b8;
}

.vc-mode .voice-clone-avatar-head .ghost-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  box-shadow: none;
}

.vc-mode .voice-clone-avatar-head .ghost-btn:hover {
  background: #f1f5f9;
}

.vc-mode .voice-clone-action-btn {
  min-height: 108px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
  box-shadow: none;
}

.vc-mode .voice-clone-action-btn strong {
  color: #1e293b;
}

.vc-mode .voice-clone-action-btn-accent {
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.vc-mode .voice-clone-action-btn-accent strong,
.vc-mode .voice-clone-action-btn-accent span {
  color: #ffffff;
}

.vc-mode .voice-clone-sample-preview,
.vc-mode .voice-clone-avatar-preview {
  min-height: 156px;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: none;
}

.vc-mode .voice-clone-recorder-status {
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #c2410c;
  box-shadow: none;
}

.vc-mode .voice-clone-clear-btn,
.vc-mode .voice-clone-profile-delete,
.vc-mode .voice-clone-avatar-clear {
  box-shadow: none;
}

.vc-mode .voice-clone-profile-btn,
.vc-mode .voice-clone-selected-card,
.vc-mode .voice-clone-generation-card,
.vc-mode .voice-clone-empty-card {
  width: 100%;
  text-align: left;
}

.vc-mode .voice-clone-profile-btn.is-active {
  border-color: #6366f1;
  background: #eef2ff;
}

.vc-mode .voice-clone-profile-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.vc-mode .voice-clone-selected-media {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.vc-mode .voice-clone-avatar-empty,
.vc-mode .voice-clone-selected-avatar,
.vc-mode .voice-clone-selected-avatar img,
.vc-mode .voice-clone-profile-avatar,
.vc-mode .voice-clone-profile-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.vc-mode .voice-clone-avatar-empty,
.vc-mode .voice-clone-profile-avatar,
.vc-mode .voice-clone-selected-avatar {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.vc-mode .voice-clone-download-btn,
.vc-mode .voice-clone-role-form > .primary-btn,
.vc-mode #voiceCloneGenerateBtn.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.vc-mode .voice-clone-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  box-shadow: none;
}

.vc-mode .voice-clone-role-form > .primary-btn,
.vc-mode #voiceCloneGenerateBtn.primary-btn {
  width: 100%;
}

.vc-mode .voice-clone-role-form > .primary-btn:disabled,
.vc-mode #voiceCloneGenerateBtn.primary-btn:disabled {
  opacity: 0.55;
}

.vc-mode .voice-clone-generation-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
}

.vc-mode .voice-clone-loading {
  padding: 24px 0;
  text-align: center;
}

.vc-mode .voice-clone-sample-card audio,
.vc-mode .voice-clone-generation-card audio {
  width: 100%;
}

.vc-mode #voiceCloneMessage.message {
  margin: 0;
  padding: 0 2px;
}

.vc-mode .voice-clone-role-form > .message:empty {
  display: none;
}

@media (min-width: 760px) {
  .vc-mode .voice-clone-action-grid,
  .vc-mode .voice-clone-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vc-mode .voice-clone-role-form > .primary-btn {
    width: auto;
    min-width: 220px;
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .vc-mode .voice-clone-section-head,
  .vc-mode .voice-clone-avatar-head,
  .vc-mode .voice-clone-generation-head {
    flex-direction: column;
  }

  .vc-mode .voice-clone-profile-row,
  .vc-mode .voice-clone-selected-media {
    grid-template-columns: 1fr;
  }
}
