.translation-style-preview {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #263140;
  padding: 12px;
}
.translation-style-preview-title {
  color: #e1e7ef;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.translation-style-preview-row + .translation-style-preview-row {
  margin-top: 14px;
}
.translation-style-preview-label {
  color: #b7c4d5;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.translation-style-preview .translation-style-preview-text {
  position: relative;
  margin: 0;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--preview-size);
  font-weight: var(--preview-weight);
  line-height: 1.18;
  letter-spacing: normal;
  text-align: var(--preview-align);
  color: var(--preview-finished);
  -webkit-text-stroke: var(--preview-stroke) var(--preview-outline);
  paint-order: stroke fill;
  text-shadow: none;
  overflow-wrap: anywhere;
  white-space: normal;
}
.translation-style-preview .translation-style-preview-text.is-interim {
  color: var(--preview-interim);
}
.translation-style-preview-foreground {
  position: relative;
  display: block;
}
.translation-style-preview-outline, .translation-style-preview-shadow {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}
.translation-style-preview-outline {
  color: transparent;
  -webkit-text-stroke: var(--preview-stroke) var(--preview-outline);
}
.translation-style-preview-shadow {
  color: var(--preview-shadow-color);
  -webkit-text-stroke: 0 transparent;
}
.translation-style-preview-shadow, .translation-style-preview-outline.is-shadow-offset {
  transform: translate(var(--preview-shadow-x), var(--preview-shadow-y));
}
.translation-style-preview.has-shadow .translation-style-preview-foreground {
  -webkit-text-stroke: 0 transparent;
}
.translation-style-preview-outline[hidden], .translation-style-preview-shadow[hidden] { display: none; }
.subtitle-shadow-controls, .subtitle-shadow-options { display: grid; gap: 14px; }
.subtitle-shadow-options input:disabled { opacity: .5; }
.subtitle-shadow-help { margin: 0; color: var(--muted); font-size: 12px; }
