.dropzone {
  cursor: pointer;
}

.dropzone.is-dragging {
  border-color: var(--orange);
  background: #fff3e8;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.remove-support {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.empty-state {
  padding: 18px;
  border: 1px dashed #aac0d8;
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}

.analysis-status {
  min-height: 24px;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 700;
}

.analysis-status.loading,
.analysis-status.warning {
  color: #8a5700;
}

.analysis-status.success {
  color: var(--green);
}

.analysis-status.error {
  padding: 12px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #fff0f2;
  color: #a81326;
}

.gemini-settings {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.gemini-settings summary {
  cursor: pointer;
  font-weight: 800;
}

.gemini-settings[open] summary {
  margin-bottom: 12px;
}

button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.voice-selection {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 700;
}

.voice-selection input {
  width: auto;
}

.voice-card-status {
  min-height: 22px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.voice-card-status.loading {
  color: #8a5700;
}

.voice-card-status.success {
  color: var(--green);
}

.voice-card-status.error {
  color: var(--red);
}

.voice-card audio[hidden] {
  display: none;
}

.export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 10px 0;
}

.button-link {
  display: inline-block;
  text-decoration: none;
}

#background-preview {
  display: grid;
  gap: 10px;
}

#background-preview audio {
  width: min(100%, 720px);
}
