.subtitle-removal-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.subtitle-removal-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border: 1.5px solid var(--border-weak, #e5e5e5);
  border-radius: 10px;
  background: var(--bg-surface, #fff);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.subtitle-removal-preset:hover {
  border-color: var(--accent, #0d9488);
  background: var(--bg-elevated, #f8f8f8);
}

.subtitle-removal-preset.is-active {
  border-color: var(--accent, #0d9488);
  background: color-mix(in srgb, var(--accent, #0d9488) 6%, transparent);
}

.subtitle-removal-preset strong {
  font-size: 12px;
  font-weight: 600;
}

.subtitle-removal-preset span {
  font-size: 11px;
  opacity: 0.55;
  text-align: center;
}

.subtitle-removal-preset__visual {
  position: relative;
  width: 48px;
  height: 32px;
  border-radius: 4px;
  background: var(--bg-page, #f0f0f0);
  border: 1px solid var(--border-weak, #e0e0e0);
  overflow: hidden;
}

.subtitle-removal-preset__region {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--region-top);
  height: var(--region-height);
  background: color-mix(in srgb, var(--accent, #0d9488) 30%, transparent);
  border-top: 1.5px dashed var(--accent, #0d9488);
  border-bottom: 1.5px dashed var(--accent, #0d9488);
}

.subtitle-removal-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.subtitle-removal-preview__video-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.subtitle-removal-preview__video-wrap video {
  max-width: 100%;
  max-height: 40vh;
  border-radius: 8px;
}

.subtitle-removal-preview__video-wrap h4 {
  margin: 0 0 8px;
  font-size: 13px;
  opacity: 0.7;
}

.subtitle-removal-preview__region-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--region-top);
  height: var(--region-height);
  background: rgba(13, 148, 136, 0.15);
  border-top: 2px dashed rgba(13, 148, 136, 0.6);
  border-bottom: 2px dashed rgba(13, 148, 136, 0.6);
  pointer-events: none;
  border-radius: 2px;
}

.subtitle-removal-preview__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.subtitle-removal-preview__actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: none;
  border-radius: var(--radius-sm, 6px);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.subtitle-removal-preview__actions button:hover:not(:disabled) {
  background: var(--accent, #0d9488);
}

.subtitle-removal-preview__actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
